Author Topic: Who locked file?  (Read 146 times)

Offline Damien

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Who locked file?
« on: October 24, 2014, 10:04:02 AM »
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.
« Last Edit: May 13, 2017, 09:29:36 AM by Sofyene »



Offline Cassius

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Re: Windows locked file
« Reply #1 on: May 13, 2017, 09:33:45 AM »
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
);


 

Sitemap 1 2 3 4 5 6 7 8 9