다음을 통해 공유


FSDMGR_EmptyLockContainer (Windows CE 5.0)

Send Feedback

This function is a helper provided by FSDMGR to free all blocked threads waiting to install a lock on a particular file.

BOOL MyFSD_EmptyLockContainer(
  PFILELOCKSTATE pFileLockState
);

Parameters

Return Values

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

Remarks

This function can be passed as the PEMPTYLOCKCONTAINER parameter 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 MyFSD_LockFileEx and MyFSD_UnlockFileEx.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Fsdmgr.h.
Link Library: Fsdmgr.lib.

See Also

FSDMGR_CreateFileHandle | MyFSD_CreateFileW | MyFSD_FindFirstFileW

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.