Platform SDK: MAPI

IProviderAdmin : IUnknown

The IProviderAdmin interface is used to work with service providers within a message service.

Quick Info

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 containing information about the previous error occurring to the provider administration object.
GetProviderTable Provides access to the message service's provider table — a listing 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 IMsgServiceAdmin::AdminProviders; service providers are passed an IProviderAdmin pointer when their message service's entry point function is called.