News:

SMF - Just Installed!

Main Menu

Who locked file?

Started by Quentin, October 24, 2014, 10:04:02 AM

Previous topic - Next topic

Damien

Hi all, I would like to ask you a big problem, I hope you can help me, who locked file? Please answer me this question.

Cassius

Locks the specified file for exclusive access by the calling process.
To specify additional options, for example creating a shared lock or for block-on-fail operation, use the LockFileEx function.
Syntax

C++

BOOL WINAPI LockFile(
  _In_ HANDLE hFile,
  _In_ DWORD  dwFileOffsetLow,
  _In_ DWORD  dwFileOffsetHigh,
  _In_ DWORD  nNumberOfBytesToLockLow,
  _In_ DWORD  nNumberOfBytesToLockHigh
);