Rediger

Del via


IScanProfile::GetGUID method

Returns the GUID of the profile.

Syntax

HRESULT GetGUID(
  [out] GUID *retVal
);

Parameters

retVal [out]

Type: GUID*

A pointer to the GUID of the profile.

Return value

Type: HRESULT

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

Remarks

The GUID for a profile is automatically generated when the profile is created with CreateProfile.

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