Bagikan melalui


CSecureChannelClient::fIsAuthenticated

banner art

The fIsAuthenticated method verifies that a secure authenticated channel has been successfully established.

Syntax

BOOL fIsAuthenticated( );

Parameters

This method takes no parameters.

Return Values

The method returns an HRESULT. All the interface methods in Windows Media Device Manager and service provider can return any of the following classes of error codes:

  • Standard COM error codes
  • Windows error codes converted to HRESULT values
  • Windows Media Device Manager error codes

For a complete list of possible error codes, see Error Codes.

Remarks

This method is used to ensure that a secure authentication channel has been established between components before allowing other operations. This includes calls by devices and storages prior to accessing and transferring data streams.

Applications do not need to call this method, but service providers and secure content providers do. They should check the fIsAuthenticated method for all exposed APIs and return WMDM_E_NOTCERTIFIED if the fIsAuthenticated method returns FALSE.

Requirements

Header: Include scclient.h.

Library: mssachlp.lib

See Also