Rediger

Del via


IScanProfile::GetName method

Gets the friendly name of the profile.

Syntax

HRESULT GetName(
  [out] BSTR *pbstrName
);

Parameters

pbstrName [out]

Type: BSTR*

The friendly name of the profile.

Return value

Type: HRESULT

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

Remarks

This method is required because the GUID of a profile cannot be used to display the scan profile to a user.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Scanprofile.h
IDL
Scanprofiles.idl

See also

IScanProfile

Scan Profile Schema