Partager via


PEMPTYLOCKCONTAINER (Compact 2013)

3/26/2014

Function pointer type for a function that frees all blocked threads waiting to install a lock on a specified file.

Syntax

typedef VOID(*PEMPTYLOCKCONTAINER)(
    PFILELOCKSTATE pFileLockState
);

Parameters

Return Value

None.

Remarks

A function pointer of this type is required by the FSDMGR_CloseFileLockState macro.

The FSDMGR_EmptyLockContainer helper function is of this type, and is typically passed to FSDMGR_CloseFileLockState.

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

Requirements

Header

fsdmgr.h

Library

Fsdmgr.lib

See Also

Reference

FSD Data Types
FSDMGR_CreateFileHandle
MyFSD_CreateFileW
MyFSD_FindFirstFileW