IAttachmentExecute::SetClientGuid method

Specifies and stores the GUID for the client.

Syntax

HRESULT SetClientGuid(
  REFGUID guid
);

Parameters

guid

Type: REFGUID

The GUID that represents the client.

Return Value

Type: HRESULT

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

Remarks

A user can choose not to display certain prompts. That information is stored in the registry on a per-client basis, indexed by guid.

Requirements

   
Minimum supported client Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shdocvw.dll (version 6.0 or later)