|
|
◆ LockRegion()
| virtual HRESULT STDMETHODCALLTYPE LockRegion |
( |
ULARGE_INTEGER | libOffset, |
|
|
ULARGE_INTEGER | cb, |
|
|
DWORD | dwLockType ) |
|
overridevirtual |
The method restricts access to a specified range of bytes in the stream. Supporting this functionality is optional since some file systems do not provide it.
- Parameters
-
| libOffset | Integer that specifies the byte offset for the beginning of the range. |
| cb | Integer that specifies the length of the range, in bytes, to be restricted. |
| dwLockType | Specifies the restrictions being requested on accessing the range. |
- Returns
S_OK if operation completed with success.
|