다음을 통해 공유


IAMCertifiedOutputProtection::ProtectionStatus

 
Microsoft DirectShow 9.0

IAMCertifiedOutputProtection::ProtectionStatus

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

The ProtectionStatus method sends a COPP status request to the graphics driver.

Syntax

  HRESULT ProtectionStatus(
  const AMCOPPStatusInput *pStatusInput,
  AMCOPPStatusOutput *pStatusOutput
);

Parameters

pStatusInput

[in] Pointer to an AMCOPPStatusInput structure that contains the status request.

pStatusOutput

[out] Pointer to an AMCOPPStatusOutput structure. The method fills this structure with the driver's response.

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