IDataObject.EnumFormatEtc(Int32, IntPtr) 方法
定义
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
参数
- b
- IntPtr
接收 IEnumFORMATETC 的输出变量地址。An output variable address receiving the IEnumFORMATETC.
返回
EnumFormatEtc 方法支持 E_INVALIDARG 和 E_OUTOFMEMORY 等标准返回值以及下面的返回值:The EnumFormatEtc method supports the standard return values E_INVALIDARG and E_OUTOFMEMORY, as well as the following return values:
| 返回值 | 说明 | | --- | --- | | S_OK | 对 EnumFormatEtc 方法的此次调用成功创建了枚举器对象。| Return value | Description | | --- | --- | | S_OK | This call to the EnumFormatEtc method successfully created the enumerator object. | | E_NOTIMPL | 不支持指定的方向。| | E_NOTIMPL | The specified direction is not supported. | | OLE_S_USEREG | 向 OLE 发出的枚举注册表中的格式的请求。| | OLE_S_USEREG | A request to OLE to enumerate the formats from the registry. |
注解
有关通过 IDataObject 接口和 Microsoft 管理控制台 (mmc) 进行编程的详细信息,请参阅 Mmc 程序员指南。For more information about programming with the IDataObject interface and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.