共用方式為


IOlkAccountNotify::Notify

Notifies the client of changes to the specified account.

Quick Info

See IOlkAccountNotify.

HRESULT IOlkAccount::Notify(  
    DWORD dwNotify, 
    DWORD dwAcctID, 
    DWORD dwFlags 
);

Parameters

  • dwNotify
    [in] The type of notification. The value must be one of the following:

    • NOTIFY_ACCT_CHANGED

    • NOTIFY_ACCT_CREATED

    • NOTIFY_ACCT_DELETED

    • NOTIFY_ACCT_ORDER_CHANGED

    • NOTIFY_ACCT_PREDELETED

  • dwAcctID
    [in] The account ID of the account that has been created, changed, deleted, or pre-deleted.
  • dwFlags
    [in] Not used. OLK_ACCOUNT_NO_FLAGS is the only supported value.

Return Values

S_OK if the call succeeded; otherwise, an error code.

See also

Constants (Account Management API)
IOlkAccountManager