Share via


IDTFilter2::GetLastErrorCode Method

This topic applies to Windows Vista or later.
The GetLastErrorCode method returns the most recent error code from the Decrypter/Detagger filter.

Syntax

HRESULT GetLastErrorCode();

Parameters

This method has no parameters.

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

Header Declared in EncDec.h.

See Also

IDTFilter Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008