Share via


IProviderAdmin : IUnknown

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Works with service providers in a message service.

Header file:

Mapidefs.h

Exposed by:

Provider administration objects

Implemented by:

MAPI

Called by:

Client applications and service providers

Interface identifier:

IID_IProviderAdmin

Pointer type:

LPPROVIDERADMIN

Vtable Order

GetLastError

Returns a MAPIERROR structure that contains information about the previous error that occurred to the provider administration object.

GetProviderTable

Provides access to the message service's provider table, a list of the service providers in the message service.

CreateProvider

Adds a service provider to the message service.

DeleteProvider

Deletes a service provider from the message service.

OpenProfileSection

Opens a profile section from the current profile and returns an IProfSect pointer for further access.

Remarks

Clients can get a pointer to an IProviderAdmin interface by calling the IMsgServiceAdmin::AdminProviders method; service providers are passed an IProviderAdmin pointer when their message service's entry point function is called.

See Also

Concepts

MAPI Interfaces