Lines Matching refs:HANDLE
54 IN HANDLE Handle
74 IN HANDLE FileHandle,
83 IN HANDLE FileHandle,
84 IN HANDLE Event OPTIONAL,
98 IN HANDLE FileHandle,
99 IN HANDLE Event OPTIONAL,
113 IN HANDLE FileHandle,
114 IN HANDLE Event OPTIONAL,
129 IN HANDLE FileHandle,
130 IN HANDLE Event OPTIONAL,
208 HANDLE Handle;
391 OUT PHANDLE Handle,
439 Status = NtOpenFile(Handle,
457 Status = NtOpenFile(Handle,
475 Status = NtOpenFile(Handle,
499 OUT PHANDLE Handle,
507 return _OpenNtName(Buffer, ReadOnly, Handle, OpenedReadonly);
519 IN HANDLE Handle
523 return NtFlushBuffersFile(Handle, &IoStatusBlock);
535 IN HANDLE Handle
539 return NtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_LOCK_VOLUME, 0, 0, 0, 0);
551 IN HANDLE Handle
555 return NtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_UNLOCK_VOLUME, 0, 0, 0, 0);
562 IN HANDLE Handle
566 return NtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_DISMOUNT_VOLUME, 0, 0, 0, 0);
578 IN HANDLE Handle
583 Status = NtFsControlFile(Handle, 0, 0, 0, &IoStatusBlock, FSCTL_IS_VOLUME_MOUNTED, 0, 0, 0, 0);
592 IN HANDLE Handle
595 return NtClose(Handle);
750 IN HANDLE h,
818 OUT PHANDLE Handle,
842 Status = _OpenDriveLetter(*Name, ReadOnly, Handle, OpenedReadonly);
868 Status = _OpenNtName(Name, ReadOnly, Handle, OpenedReadonly);
891 IN HANDLE Handle,
916 Handle, NULL, NULL, NULL,
921 Status = NtWriteFile(Handle, NULL, NULL, NULL,
946 IN HANDLE Handle,
953 return _BlockIo(Handle, Offset, Bytes, (PCHAR)Buffer, FALSE, Errno);
959 IN HANDLE Handle,
966 return _BlockIo(Handle, Offset, Bytes, Buffer, TRUE, Errno);
974 IN HANDLE Handle,
980 Handle, NULL, NULL, NULL, &IoStatusBlock, IOCTL_DISK_SET_PARTITION_INFO,
997 HANDLE h;
1032 HANDLE h;
1094 // Allocate channel handle
1153 if(!_Ext2OpenDevice(name, (BOOLEAN)!BooleanFlagOn(flags, EXT2_FLAG_RW), &NtData->Handle, &NtData->OpenedReadonly, &Errno))
1163 _GetDeviceSize(NtData->Handle, &FsSize);
1171 if(!NT_SUCCESS(_LockDrive(NtData->Handle)) /*|| !NT_SUCCESS(_DismountDrive(NtData->Handle))*/)
1200 if(NULL != NtData->Handle)
1202 _UnlockDrive(NtData->Handle);
1203 _CloseDisk(NtData->Handle);
1245 if(NULL != NtData->Handle)
1247 _DismountDrive(NtData->Handle);
1248 _UnlockDrive(NtData->Handle);
1249 _CloseDisk(NtData->Handle);
1354 if(!_RawRead(NtData->Handle, Offset, SizeToRead, BufferToRead, &Errno))
1424 if(!_RawWrite(NtData->Handle, Offset, SizeToWrite, buf, &Errno))
1481 _FlushDrive(NtData->Handle);
1490 _SetPartType(NtData->Handle, 0x83);