Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This helper macro frees a FILELOCKSTATEstructure.

Syntax

void FSDMGR_CloseFileLockState (
  PFILELOCKSTATE 
pFileLockState
);

Parameters

pFileLockState

[in] Pointer to a FILELOCKSTATEstructure initialized by the FSDMGR_OpenFileLockStatefunction .

Return Value

None.

Remarks

Every open file has a FILELOCKSTATEstructure associated with it. Multiple open handles to the same file share the same FILELOCKSTATEstructure. 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_LockFileExand the MyFSD_UnLockFileExfunctions.

Requirements

Header lockmgrhelp.h
Library Fsdmgr.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also