Undocumented functions of NTDLL

2OO1, 6 January


NtLockFile
NtLockFile

NTSYSAPI 
NTSTATUS
NTAPI

NtLockFile(
IN HANDLE FileHandle, IN HANDLE LockGrantedEvent 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 PULONG Key, IN BOOLEAN ReturnImmediately, IN BOOLEAN ExclusiveLock );



Requirements:
Library: ntdll.lib


See also:
NtCreateFile
NtOpenFile
NtReadFile
NtReadFileScatter
NtUnlockFile
NtWriteFile
NtWriteFileGather