OPAQUECOMMAND (deprecated)

banner art

This is preliminary documentation and subject to change.

This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.

The OPAQUECOMMAND structure contains data for commands that are passed through Windows Media Device Manager to a device but are not intended to be acted upon by Windows Media Device Manager.

Syntax

typedef struct OPAQUECOMMAND{
  GUID  guidCommand;
  DWORD  dwDataLen;
  [size_is(dwDataLen)] BYTE*  pData;
  BYTE  abMAC[20];
};

Members

guidCommand

GUID representing the requested command.

dwDataLen

Length of the data to which pData points, in bytes.

pData

Data required to execute the command, and/or data returned by the command.

abMAC[20]

This message authentication code (MAC) should include the guidCommand member, the data to which pdwDataLen points, and the data to which pData points, if any. If pData is NULL, it must not be included in the MAC. WMDM_MAC_LENGTH is defined as 20.

Requirements

Header: Defined in wmdm.idl.

Library: mssachlp.lib

See Also