Partager via


FSDMGR_CloseFileLockState

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

FSDMGR_CreateFileHandle
MyFSD_CreateFileW
MyFSD_FindFirstFileW

Other Resources

FSDMGR Macros