Partager via


IOlkAccountManager::SaveChanges

Saves changes to the specified account.

Quick Info

See IOlkAccountManager.

HRESULT IOlkAccountManager::SaveChanges (  
    DWORD dwAcctID, 
    DWORD dwFlags 
); 

Parameters

  • dwAcctID
    [in] The account ID to save.
  • dwFlags
    [in] Flags to modify behavior. OLK_ACCOUNT_NO_FLAGS is the only supported value.

Return Values

HRESULT Description

S_OK

The call succeeded

E_ACCT_NOT_FOUND

The specified account cannot be found.

E_OLK_NOT_INITIALIZED

The account manager has not been initialized for use.

Remarks

After changing the value of account properties by using IOlkAccount::SetProp, use IOlkAccountManager::SaveChanges or IOlkAccount::SaveChanges to save such changes.

See also

Constants (Account Management API)
IOlkAccount::SaveChanges