次の方法で共有


IWMSInternalAdminNetSource interface (wmsinternaladminnetsource.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 IWMSInternalAdminNetSource interface manages cached passwords and finds proxy servers.

To obtain a pointer to an instance of this interface, call the QueryInterface method of the IDispatch interface retrieved by INSNetSourceCreator::GetNetSourceAdminInterface.

Inheritance

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

Methods

The IWMSInternalAdminNetSource interface has these methods.

 
IWMSInternalAdminNetSource::DeleteCredentials

The DeleteCredentials method removes a password from the cache.
IWMSInternalAdminNetSource::FindProxyForURL

The FindProxyForURL method finds a proxy server name and port to use for the client.
IWMSInternalAdminNetSource::GetCredentialFlags

The GetCredentialFlags method can be used in conjunction with IWMSInternalAdminNetSource::SetCredentialFlags to determine whether the user wants passwords saved as a default behavior. This method retrieves any flags previously set.
IWMSInternalAdminNetSource::GetCredentials

The GetCredentials method retrieves a cached password.
IWMSInternalAdminNetSource::RegisterProxyFailure

Registers a proxy failure.
IWMSInternalAdminNetSource::SetCredentialFlags

The SetCredentialFlags method is used to set the user preference for automatic password caching.
IWMSInternalAdminNetSource::SetCredentials

The SetCredentials method adds a password to the cache.
IWMSInternalAdminNetSource::ShutdownProxyContext

The ShutdownProxyContext method releases the internal resources used by IWMSInternalAdminNetSource::FindProxyForURL. To avoid memory leaks, you must call this method after you are finished making calls to FindProxyForURL.

Remarks

Most of the methods of the IWMSInternalAdminNetSource interface have been updated in IWMSInternalAdminNetSource2 and IWMSInternalAdminNetSource3. If you are developing an application using a version of the Windows Media Format SDK that supports the later interfaces, you should use them.

Requirements

Requirement Value
Target Platform Windows
Header wmsinternaladminnetsource.h

See also

INSNetSourceCreator Interface

IWMSInternalAdminNetSource2 Interface

IWMSInternalAdminNetSource3 Interface

Interfaces