Share via


FSDMGR_RemoveFileLockEx (Windows Embedded CE 6.0)

1/6/2010

This function unlocks the file specified by the handle.

Syntax

BOOL
FSDMGR_RemoveFileLockEx(
    PACQUIREFILELOCKSTATE pAcquireFileLockState,
    PRELEASEFILELOCKSTATE pReleaseFileLockState,
    DWORD dwHandle
    );

Parameters

  • dwHandle
    [in] Pointer to the value that an FSD passes to the FSDMGR_CreateFileHandle function when creating the file handle.

Return Value

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

Remarks

The FSD can simply pass all parameters received by MyFSD_LockFileEx to this helper function, along with two helper function pointers, PACQUIREFILELOCKSTATE and PRELEASEFILELOCKSTATE, implemented by the FSD.

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 lockmgr.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

FSDMGR Functions
FSDMGR_RemoveFileLock
FSDMGR_AcquireFileLock