9 references to ERROR_INVALID_HANDLE
System (9)
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (1)
1241
case NativeMethods.
ERROR_INVALID_HANDLE
:
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
702
if (e.NativeErrorCode == NativeMethods.
ERROR_INVALID_HANDLE
|| e.NativeErrorCode == NativeMethods.ERROR_PARTIAL_COPY)
sys\system\io\ports\SerialStream.cs (3)
701
if ((errorCode == NativeMethods.ERROR_INVALID_PARAMETER) || (errorCode == NativeMethods.
ERROR_INVALID_HANDLE
))
1571
if (hr == NativeMethods.
ERROR_INVALID_HANDLE
)
1620
if (hr == NativeMethods.
ERROR_INVALID_HANDLE
)
sys\system\security\accesscontrol\semaphoresecurity.cs (1)
137
case NativeMethods.
ERROR_INVALID_HANDLE
:
sys\system\threading\semaphore.cs (3)
75
if(null != name && 0 != name.Length && NativeMethods.
ERROR_INVALID_HANDLE
== errorCode)
143
if(null != name && 0 != name.Length && NativeMethods.
ERROR_INVALID_HANDLE
== errorCode)
281
if (null != name && 0 != name.Length && NativeMethods.
ERROR_INVALID_HANDLE
== errorCode)