Share via


FMD_OEMIoControl (Windows CE 5.0)

Send Feedback

This function implements user-defined commands for the flash memory device.

FMD_OEMIoControl(DWORDdwIoControlCode,PBYTEpInBuf,DWORDnInBufSize,PBYTEpOutBuf,DWORDnOutBufSize,PDWORDpBytesReturned);

Parameters

  • dwIoControlCode
    [in] The control code specifying the command to execute.
  • pInBuf
    [in] Long pointer to a buffer that contains the data required to perform the operation. Set to NULL if the dwIoControlCode parameter specifies an operation that does not require input data.
  • nInBufSize
    [in] Size, in bytes, of the buffer pointed to by pInBuf.
  • pOutBuf
    [out] Long pointer to a buffer that receives the output data for the operation. Set to NULL if the dwIoControlCode parameter specifies an operation that does not produce output data.
  • nOutBufSize
    [out] Size, in bytes, of the buffer pointed to by pOutBuf.
  • pBytesReturned
    [out] Long pointer to a variable that receives the size, in bytes, of the data stored into the buffer pointed to by pOutBuf. Even when an operation produces no output data and pOutBuf is set to NULL, the DeviceIoControl function uses the variable pointed to by pBytesReturned. After such an operation, the value of the variable has no meaning.

Return Values

Returns TRUE on success. Returns FALSE on failure.

Remarks

This function only handles user-defined IOCTLs specific to a particular flash media driver (FMD) implementation. It does not handle the standard disk IOCTLs that are processed by the FAL.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Fmd.h.
Link Library: Developer implemented.

See Also

Flash Media Drivers | Flash Media Driver Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.