IOlkAccountManager::Advise

IOlkAccountManager::Advise

Registers a client with the account manager for notifications regarding all accounts.

Quick Info

See IOlkAccountManager.

  HRESULT IOlkAccountManager::Advise ( 
	IOlkAccountNotify *pNotify,
	DWORD *pdwCookie
);

Parameters

pNotify

[in] An IOlkAccountNotify interface that the account manager will use to send notifications to the client.

pdwCookie

[out] A cookie that IOlkAccountManager::Unadvise will use when removing the registration for the account.

Return Values

E_INVALIDARG

An invalid argument has been provided.

E_OLK_NOT_INITIALIZED

The account manager has not been initialized for use.

See Also

Constants for the Account Management API

IOlkAccountManager::Unadvise