Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[IImnAccountManager::GetDefaultAccount is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Gets the account object that is the default for the specified account type.
Syntax
HRESULT GetDefaultAccount(
[in] ACCTTYPE AcctType,
[out] IImnAccount **ppAccount
);
Parameters
-
AcctType [in]
-
Type: ACCTTYPE
Specifies an ACCTTYPE value that indicates the type of account.
-
ppAccount [out]
-
Type: IImnAccount**
Receives the address of a pointer to the IImnAccount object found. The client is responsible for releasing this object.
Return value
Type: HRESULT
Returns one of the following values.
| Return code | Description |
|---|---|
|
Indicates success. |
|
Indicates that an account was not found that meets the criteria. |
|
Indicates that ppAccount is NULL or that AcctType is invalid. |
Requirements
| Minimum supported client |
Windows XP [desktop apps only] |
| Minimum supported server |
Windows Server 2003 [desktop apps only] |
| Product |
Outlook Express 6.0 |
| Header |
|
| IDL |
|
| DLL |
|