FSDMGR_CloseFileLockState (Compact 2013)

3/26/2014

This helper macro frees a FILELOCKSTATE structure.

Syntax

void FSDMGR_CloseFileLockState (
  PFILELOCKSTATE pFileLockState
);

Parameters

Return Value

None.

Remarks

Every open file has a FILELOCKSTATE structure associated with it. Multiple open handles to the same file share the same FILELOCKSTATE structure. This structure is freed when the last handle to the file is closed.

This function is a Lock Manager function provided by File System Disk Manager (FSDMGR) to assist file system drivers (FSDs) in implementing the MyFSD_LockFileEx and the MyFSD_UnLockFileEx functions.

Requirements

Header

lockmgrhelp.h

Library

Fsdmgr.lib

See Also

Reference

FSDMGR Macros
FSDMGR_CreateFileHandle
MyFSD_CreateFileW
MyFSD_FindFirstFileW