Partager via


FSDMGR_EmptyLockContainer (Compact 2013)

3/26/2014

This function is a helper provided by File System Disk Manager (FSDMGR) to free all blocked threads waiting to install a lock on a file.

Syntax

BOOL MyFSD_EmptyLockContainer(
  PFILELOCKSTATE pFileLockState
);

Parameters

Return Value

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Remarks

This function can be passed as the PEMPTYLOCKCONTAINER to the FSDMGR_CloseFileLockState macro when a lock state is destroyed.

This function is a Lock Manager function provided by FSDMGR to assist FSDs with implementing the MyFSD_LockFileEx and the MyFSD_UnLockFileEx functions.

Requirements

Header

fsdmgr.h

Library

Fsdmgr.lib

See Also

Reference

FSDMGR Functions
FSD Reference
FSDMGR_CreateFileHandle
MyFSD_CreateFileW
MyFSD_FindFirstFileW