IContactManager::Initialize method (icontact.h)
Initializes the contact manager with the unique application name and application version being used to manipulate contacts.
Syntax
HRESULT Initialize(
[in] LPCWSTR pszAppName,
[in] LPCWSTR pszAppVersion
);
Parameters
[in] pszAppName
Type: LPWSTR
Specifies the application name.
[in] pszAppVersion
Type: LPCWSTR
Specifies the application version.
Return value
Type: HRESULT
Returns one of the following values:
Return code | Description |
---|---|
|
IContactManager is initialized. |
Remarks
Note This method MUST be called before other IContactManager methods.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | icontact.h (include Contact.h) |
DLL | Wab32.dll (Version 6.0 or later) |