STORE_ExecuteCommand (Windows Embedded CE 6.0)
1/6/2010
This function executes a mass storage command.
Syntax
DWORD STORE_ExecuteCommand(
PTRANSPORT_COMMAND ptcCommand,
PTRANSPORT_DATA ptdData
);
Parameters
- ptcCommand
[in] Target command.
- ptdData
[in] Data associated with the command. May be NULL.
Return Value
The following table shows the return values for this function.
Return value | Description |
---|---|
EXECUTE_PASS |
Returned if the command is supported and executed successfully. |
EXECUTE_FAIL |
Might return EXECUTE_FAIL if the data block is greater than or equal to DATASIZE_INQUIRY. Other failures depend on the command. |
EXECUTE_ERROR |
Returned if the command is not supported. |
Remarks
See the switch statement in this function for the commands that are supported by default. The function implementation is in %_PUBLICROOT%\Common\OAK\Drivers\USBFN\Class\Storage\Emulation\SCSI2\Block\Block.cpp.
Requirements
Header | proxy.h |
Windows Embedded CE | Windows CE 5.0 and later |
See Also
Reference
USB Function Mass Storage Client Driver Functions