|
-
Feb 2nd, 2002, 05:39 PM
#1
LockFile etc.
I was looking through the API Viewer and I found these:
Public Declare Function LockFile Lib "kernel32" Alias "LockFile" (ByVal hFile As Long, ByVal dwFileOffsetLow As Long, ByVal dwFileOffsetHigh As Long, ByVal nNumberOfBytesToLockLow As Long, ByVal nNumberOfBytesToLockHigh As Long) As Long
Public Declare Function LockResource Lib "kernel32" Alias "LockResource" (ByVal hResData As Long) As Long
I am assuming the first one locks a file, and the second one locks a resource (ie: drive or folder, etc.) Am I right? How would I use them? (A practical example is worth a thousand words)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|