IDataObject.EnumFormatEtc(Int32, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a pointer to an object that can enumerate the FORMATETC enumerator types that this implementation supports.
public:
int EnumFormatEtc(int a, IntPtr b);
public int EnumFormatEtc (int a, IntPtr b);
abstract member EnumFormatEtc : int * nativeint -> int
Public Function EnumFormatEtc (a As Integer, b As IntPtr) As Integer
Parameters
- b
-
IntPtr
nativeint
An output variable address receiving the IEnumFORMATETC.
Returns
The EnumFormatEtc method supports the standard return values E_INVALIDARG and E_OUTOFMEMORY, as well as the following return values:
Return value | Description |
---|---|
S_OK | This call to the EnumFormatEtc method successfully created the enumerator object. |
E_NOTIMPL | The specified direction is not supported. |
OLE_S_USEREG | A request to OLE to enumerate the formats from the registry. |
Remarks
For more information about programming with the IDataObject interface and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.