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
HRESULT | Description |
---|---|
S_OK |
The call succeeded. |
E_INVALIDARG |
An invalid argument has been provided. |
E_OLK_NOT_INITIALIZED |
The account manager has not been initialized for use. |
See also
Constants (Account Management API)
IOlkAccountManager::Unadvise