次の方法で共有


STORE_IsCommandSupported (Compact 2013)

3/26/2014

This function determines whether a mass storage command is supported.

Syntax

BOOL STORE_IsCommandSupported(
  PTRANSPORT_COMMAND  ptcCommand,
  PBOOL pfDataStageRequired,
  PDWORD pdwDirection,
  PDWORD pdwDataSize
);

Parameters

  • ptcCommand
    [in] Target command.
  • pfDataStageRequired
    [out] Indicator for whether the command has a data stage if the command is supported.
  • pdwDirection
    [out] Direction of the data stage if the command is supported.
  • pdwDataSize
    [out] Size of the data stage if the command is supported.

Return Value

Returns FALSE if the command is not supported or if the mass storage device was not opened or initialized properly. Otherwise, returns TRUE.

Requirements

Header

proxy.h

See Also

Reference

USB Function Mass Storage Client Driver Functions