Share via


IDTFilter2::GetLastErrorCode method (encdec.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The GetLastErrorCode method returns the most recent error code from the Decrypter/Detagger filter.

Syntax

HRESULT GetLastErrorCode();

Return value

Returns an HRESULT. Possible values include the following.

Return code Description
NS_E_DRM_APPCERT_REVOKED
A problem has occurred in the digital rights management (DRM) component.
NS_E_DRM_CERTIFICATE_REVOKED
The client's certificate has been revoked.
S_OK
No DRM errors have occurred.

Requirements

Requirement Value
Minimum supported client Windows�XP with SP2 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header encdec.h

See also

IDTFilter Interface