FMD_OEMIoControl (Windows Embedded CE 6.0)
1/6/2010
This function implements user-defined commands for the flash memory device.
Syntax
FMD_OEMIoControl(
DWORD dwIoControlCode,
PBYTE pInBuf,
DWORD nInBufSize,
PBYTE pOutBuf,
DWORD nOutBufSize,
PDWORD pBytesReturned
);
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 Value
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
Header | fmd.h |
Library | Developer Implemented |
Windows Embedded CE | Windows CE .NET 4.2 and later |