IFaxAccountSet::GetAccount method (faxcomex.h)

Returns an IFaxAccount object by using the account name.

Syntax

HRESULT GetAccount(
  [in] BSTR        bstrAccountName,
       IFaxAccount **pFaxAccount
);

Parameters

[in] bstrAccountName

Type: BSTR

Specifies a null-terminated string that contains the name of the account to return.

pFaxAccount

Type: IFaxAccount**

The address of a pointer to an IFaxAccount object.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

bstrAccountName must be of the form <domainName>&lt;username> or just <username> for local users.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header faxcomex.h
DLL Fxscomex.dll

See also

FaxAccountSet

IFaxAccountSet