Windows Media Format SDK banner art
PreviousNext

IMDSPDevice::SendOpaqueCommand

The SendOpaqueCommand method sends a command through Windows Media Device Manager. Without acting on it, Windows Media Device Manager then passes the command through to a device.

Syntax

HRESULT SendOpaqueCommand(
  OPAQUECOMMAND*  pCommand
);

Parameters

  pCommand

[in, out]  Pointer to an OPAQUECOMMAND structure containing the information required to execute the command.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Description
E_INVALIDARG The pCommand parameter is an invalid or NULL pointer.
E_FAIL An unspecified error occurred.

Remarks

This method is used with device commands that do not affect Windows Media Device Manager, and are passed through unchanged.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.