Share via


FSDMGR_EmptyLockContainer

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

See Also

Reference

FSD Reference
FSDMGR_CreateFileHandle
MyFSD_CreateFileW
MyFSD_FindFirstFileW