28 IN DWORD nNumberOfBytesToLockLow,
29 IN DWORD nNumberOfBytesToLockHigh)
44 BytesToLock.
u.LowPart = nNumberOfBytesToLockLow;
45 BytesToLock.
u.HighPart = nNumberOfBytesToLockHigh;
46 Offset.u.LowPart = dwFileOffsetLow;
47 Offset.u.HighPart = dwFileOffsetHigh;
85 IN DWORD nNumberOfBytesToLockLow,
86 IN DWORD nNumberOfBytesToLockHigh,
114 BytesToLock.
u.LowPart = nNumberOfBytesToLockLow;
115 BytesToLock.
u.HighPart = nNumberOfBytesToLockHigh;
145 IN DWORD nNumberOfBytesToUnlockLow,
146 IN DWORD nNumberOfBytesToUnlockHigh)
153 Overlapped.
Offset = dwFileOffsetLow;
157 nNumberOfBytesToUnlockLow,
158 nNumberOfBytesToUnlockHigh,
185 IN DWORD nNumberOfBytesToUnLockLow,
186 IN DWORD nNumberOfBytesToUnLockHigh,
209 BytesToUnLock.
u.LowPart = nNumberOfBytesToUnLockLow;
210 BytesToUnLock.
u.HighPart = nNumberOfBytesToUnLockHigh;
#define NT_SUCCESS(StatCode)
#define ERROR_INVALID_PARAMETER
BOOL WINAPI UnlockFileEx(IN HANDLE hFile, IN DWORD dwReserved, IN DWORD nNumberOfBytesToUnLockLow, IN DWORD nNumberOfBytesToUnLockHigh, IN LPOVERLAPPED lpOverlapped)
BOOL WINAPI UnlockFile(IN HANDLE hFile, IN DWORD dwFileOffsetLow, IN DWORD dwFileOffsetHigh, IN DWORD nNumberOfBytesToUnlockLow, IN DWORD nNumberOfBytesToUnlockHigh)
BOOL WINAPI LockFileEx(IN HANDLE hFile, IN DWORD dwFlags, IN DWORD dwReserved, IN DWORD nNumberOfBytesToLockLow, IN DWORD nNumberOfBytesToLockHigh, IN LPOVERLAPPED lpOverlapped)
BOOL WINAPI LockFile(IN HANDLE hFile, IN DWORD dwFileOffsetLow, IN DWORD dwFileOffsetHigh, IN DWORD nNumberOfBytesToLockLow, IN DWORD nNumberOfBytesToLockHigh)
NTSTATUS NTAPI NtLockFile(IN HANDLE FileHandle, IN HANDLE EventHandle OPTIONAL, IN PIO_APC_ROUTINE ApcRoutine OPTIONAL, IN PVOID ApcContext OPTIONAL, OUT PIO_STATUS_BLOCK IoStatusBlock, IN PLARGE_INTEGER ByteOffset, IN PLARGE_INTEGER Length, IN ULONG Key, IN BOOLEAN FailImmediately, IN BOOLEAN ExclusiveLock)
NTSTATUS NTAPI NtUnlockFile(IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock, IN PLARGE_INTEGER ByteOffset, IN PLARGE_INTEGER Length, IN ULONG Key OPTIONAL)
static OUT PIO_STATUS_BLOCK IoStatusBlock
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED lpOverlapped
NTSYSAPI NTSTATUS NTAPI NtWaitForSingleObject(IN HANDLE hObject, IN BOOLEAN bAlertable, IN PLARGE_INTEGER Timeout)
_In_ ULONG _In_ ULONG Offset
#define STATUS_INVALID_HANDLE
DWORD BaseSetLastNTError(IN NTSTATUS Status)
#define IsConsoleHandle(h)
struct _LARGE_INTEGER::@2299 u
#define LOCKFILE_FAIL_IMMEDIATELY
DWORD WINAPI GetLastError(void)
#define LOCKFILE_EXCLUSIVE_LOCK
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO