Поделиться через


INSNetSourceCreator interface (wmnetsourcecreator.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 INSNetSourceCreator interface creates an administrative network source plug-in. You can use an administrative network source plug-in to cache passwords and to locate the appropriate proxy server to use for Internet operations.

To get a pointer to the INSNetSourceCreator interface, call CoCreateInstance with CLSID_ClientNetManager as the REFCLSID parameter.

Inheritance

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

Methods

The INSNetSourceCreator interface has these methods.

 
INSNetSourceCreator::GetNetSourceAdminInterface

The GetNetSourceAdminInterface method retrieves a pointer to the IDispatch interface of the administrative network source object.
INSNetSourceCreator::Initialize

The Initialize method prepares the network source creator for operations. You must call this method before calling any of the other methods in the INSNetSourceCreator interface.
INSNetSourceCreator::Shutdown

The Shutdown method properly disposes of all allocated memory used by the network source creator. You must call this method when you are finished using the network source creator, to ensure that all resources are released.

Requirements

Requirement Value
Target Platform Windows
Header wmnetsourcecreator.h

See also

Interfaces