Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

SHCreateStdEnumFmtEtc function

[SHCreateStdEnumFmtEtc is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Creates an IEnumFORMATETC object from an array of FORMATETC structures.

Syntax


HRESULT SHCreateStdEnumFmtEtc(
  _In_   UINT cfmt,
  const FORMATETC afmt[],
  _Out_  IEnumFORMATETC **ppenumFormatEtc
);

Parameters

cfmt [in]

Type: UINT

The number of entries in the afmt array.

afmt

Type: const FORMATETC[]

An array of FORMATETC structures that specifies the clipboard formats of interest.

ppenumFormatEtc [out]

Type: IEnumFORMATETC**

When this function returns successfully, receives an IEnumFORMATETC interface pointer. Receives NULL on failure.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP with SP2

End of server support

Windows Server 2003

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.0 or later)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.