共用方式為


IWMCredentialCallback interface (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMCredentialCallback interface is a callback interface used by the reader object to acquire user credentials. When the reader object receives an authentication challenge from the server, it calls the application's AcquireCredentials method to get the credentials of the user, in order to access the remote site. This interface is implemented by the application.

Inheritance

The IWMCredentialCallback interface inherits from the IUnknown interface. IWMCredentialCallback also has these types of members:

Methods

The IWMCredentialCallback interface has these methods.

 
IWMCredentialCallback::AcquireCredentials

The AcquireCredentials method acquires the credentials of the user, to verify that the user has permission to access a remote site.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

Authentication

Interfaces

Reader Object