Compartilhar via


IAMCertifiedOutputProtection::ProtectionCommand

 
Microsoft DirectShow 9.0

IAMCertifiedOutputProtection::ProtectionCommand

This topic applies only to Windows XP Service Pack 2 or later.

The ProtectionCommand method sends a COPP command to the graphics driver.

Syntax

  HRESULT ProtectionCommand(
    const AMCOPPCommand *cmd
);

Parameters

cmd

[in] Pointer to an AMCOPPCommand structure that contains the command.

Return Values

Returns an HRESULT value. Possible values include the following.

Return Code Description
S_OK Success.
E_UNEXPECTED Invalid state. Possibly the application passed unexpected data, or called IAMCertifiedOutputProtection methods in the wrong order.
VFW_E_NO_COPP_HW The display device does not support COPP; or the VMR has not connected to a display device yet.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also