Compartilhar via


IOCTL_FMD_GET_INTERFACE (Compact 2013)

3/26/2014

This I/O control message returns the interface exported by the FMD. Any functions not implemented by the FMD should have the function pointer set to NULL. Send this message with OEMIoControl.

Syntax

BOOL OEMIoControl(
    HANDLE hDevice,           // handle to device
    DWORD dwIoControlCode,    // use IOCTL_FMD_GET_INTERFACE
    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_GET_INTERFACE for this operation.
  • lpInBuffer
    [out] Set to NULL.
  • nInBufferSize
    [out] Set to zero.
  • nOutBufferSize
    [in] Size of the FMDInterface structure.
  • 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