Share via


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.

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