IContactManager::Initialize Method

Initializes the contact manager with the unique application name and application version being used to manipulate contacts.

Syntax

HRESULT Initialize(      
    LPWSTR pszAppName,
    LPCWSTR pszAppVersion
);

Parameters

  • pszAppName
    [in] Specifies the application name.
  • pszAppVersion
    [in] Specifies the application version.

Return Value

Returns one of the following values:

S_OK IContactManager is initialized.

Remarks

Note  This method MUST be called before other IContactManager methods.