FSDMGR_CloseFileLockState (Windows CE 5.0)
This helper macro frees a FILELOCKSTATE structure.
void FSDMGR_CloseFileLockState (
PFILELOCKSTATE pFileLockState
);
Parameters
- pFileLockState
[in] Pointer to a FILELOCKSTATE structure already initialized by FSDMGR_OpenFileLockState.
Return Values
None.
Remarks
This is a macro, not a function.
Every open file should have a FILELOCKSTATE structure associated with it. Multiple open handles to the same file should share the same FILELOCKSTATE structure. This structure should be freed when the last handle to the file is closed.
This function is a Lock Manager function provided by FSDMGR to assist FSDs with implementing MyFSD_LockFileEx and MyFSD_UnlockFileEx.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: lockmgrhelp.h.
Link Library: Fsdmgr.lib.
See Also
FSDMGR_CreateFileHandle | MyFSD_CreateFileW | MyFSD_FindFirstFileW
Send Feedback on this topic to the authors