Compartir a través de


STORE_ExecuteCommand (Windows CE 5.0)

Send Feedback

This function executes a mass storage command.

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 Values

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

OS Version: Windows CE 5.0 and later.
Header: Proxy.h.

See Also

USB Function Mass Storage Client Driver

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.