IAMCertifiedOutputProtection::ProtectionStatus method (strmif.h)
The ProtectionStatus method sends a COPP status request to the graphics driver.
Syntax
HRESULT ProtectionStatus(
[in] const AMCOPPStatusInput *pStatusInput,
[out] AMCOPPStatusOutput *pStatusOutput
);
Parameters
[in] pStatusInput
Pointer to an AMCOPPStatusInput structure that contains the status request.
[out] pStatusOutput
Pointer to an AMCOPPStatusOutput structure. The method fills this structure with the driver's response.
Return value
Returns an HRESULT value. Possible values include the following.
| Return code | Description |
|---|---|
|
Success. |
|
Invalid state. Possibly the application passed unexpected data, or called IAMCertifiedOutputProtection methods in the wrong order. |
|
The display device does not support COPP; or the VMR has not connected to a display device yet. |
Requirements
| Minimum supported client | Windows XP with SP2 [desktop apps only] |
| Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | strmif.h (include Dshow.h) |
| Library | Strmiids.lib |