Compartilhar via


IOCTL_FMD_UNLOCK_BLOCKS (Compact 2013)

3/26/2014

This I/O control message unlocks one or more blocks in a specified range. Send this message with OEMIoControl.

Syntax

BOOL OEMIoControl(
    HANDLE hDevice,           // handle to device
    DWORD dwIoControlCode,    // use IOCTL_FMD_UNLOCK_BLOCKS
    LPVOID lpInBuffer,        // pointer to input buffer
    DWORD nInBufferSize,      // input buffer size
    LPVOID lpOutBuffer,       // pointer to output buffer
    DWORD nOutBufferSize,     // output buffer size
    LPDWORD lpBytesReturned,  // number of bytes returned
    OVERLAPPED lpOverlapped   // pointer to OVERLAPPED structure
);

Parameters

  • hDevice
    The handle to the block device.
  • dwIoControlCode
    [in] Control code for the operation. Use IOCTL_FMD_UNLOCK_BLOCKS for this operation.
  • nInBufferSize
    [in] Size of the BlockLockInfo structure.
  • lpOutBuffer
    [out] Set to NULL.
  • nOutBufferSize
    [out] Set to zero.
  • lpBytesReturned
    [out] Set to NULL.
  • lpOverlapped
    [in] Not used.

Return Values

Returns TRUE if successful; otherwise, returns FALSE.

Requirements

Header

fmd.h

See Also

Reference

Flash Media Driver IOCTLs
Flash Media Driver Reference