5 references to ERROR_INVALID_PARAMETER
System (5)
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
293if (result == NativeMethods.ERROR_INVALID_PARAMETER)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
1214if ((error == NativeMethods.ERROR_INVALID_PARAMETER) && procHandle.IsInvalid) {
sys\system\io\ports\SerialStream.cs (3)
701if ((errorCode == NativeMethods.ERROR_INVALID_PARAMETER) || (errorCode == NativeMethods.ERROR_INVALID_HANDLE)) 1769if (! ( (error == NativeMethods.ERROR_IO_INCOMPLETE || error == NativeMethods.ERROR_INVALID_PARAMETER) && ShutdownLoop)) 1773else if (hr != NativeMethods.ERROR_INVALID_PARAMETER) {