CustomQueryInterfaceResult 枚举
定义
警告
此 API 现已过时。
提供 GetInterface(Guid, IntPtr) 方法的返回值。Provides return values for the GetInterface(Guid, IntPtr) method.
public enum class CustomQueryInterfaceResult
[System.Runtime.InteropServices.ComVisible(false)]
[System.Obsolete("CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.")]
[System.Serializable]
public enum CustomQueryInterfaceResult
type CustomQueryInterfaceResult =
Public Enum CustomQueryInterfaceResult
- 继承
- 属性
字段
Failed | 2 | 特定接口 ID 的接口不可用。The interface for a specific interface ID is not available. 在这种情况下,返回的接口为 |
Handled | 0 | 从 GetInterface(Guid, IntPtr) 方法返回的接口指针可用作 IUnknown::QueryInterface 的结果。The interface pointer that is returned from the GetInterface(Guid, IntPtr) method can be used as the result of IUnknown::QueryInterface. |
NotHandled | 1 | 未使用自定义的 |