15 references to INVALID_HANDLE_VALUE
System.Web (15)
Hosting\ISAPIWorkerRequest.cs (1)
446
if (_fileHandle != IntPtr.Zero && _fileHandle != UnsafeNativeMethods.
INVALID_HANDLE_VALUE
) {
Security\FileAuthorizationModule.cs (5)
357
if (_securityDescriptor == UnsafeNativeMethods.
INVALID_HANDLE_VALUE
)
381
if (secDes == UnsafeNativeMethods.
INVALID_HANDLE_VALUE
)
415
_securityDescriptor = UnsafeNativeMethods.
INVALID_HANDLE_VALUE
;
429
_securityDescriptor != UnsafeNativeMethods.
INVALID_HANDLE_VALUE
&&
437
if (_securityDescriptor == UnsafeNativeMethods.
INVALID_HANDLE_VALUE
) {
State\OutOfProcStateClientManager.cs (1)
28
internal static readonly IntPtr INVALID_SOCKET = UnsafeNativeMethods.
INVALID_HANDLE_VALUE
;
Util\FileEnumerator.cs (5)
92
private IntPtr _hFindFile = UnsafeNativeMethods.
INVALID_HANDLE_VALUE
;
124
if (_hFindFile == UnsafeNativeMethods.
INVALID_HANDLE_VALUE
) {
128
if (_hFindFile == UnsafeNativeMethods.
INVALID_HANDLE_VALUE
)
153
if (_hFindFile != UnsafeNativeMethods.
INVALID_HANDLE_VALUE
) {
155
_hFindFile = UnsafeNativeMethods.
INVALID_HANDLE_VALUE
;
Util\FileUtil.cs (2)
446
if (hFindFile == UnsafeNativeMethods.
INVALID_HANDLE_VALUE
) {
505
if (hFindFile == UnsafeNativeMethods.
INVALID_HANDLE_VALUE
) {
Util\SystemInfo.cs (1)
23
IntPtr processHandle = UnsafeNativeMethods.
INVALID_HANDLE_VALUE
;