CustomQueryInterfaceResult 枚举
定义
注意
CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.
提供 GetInterface(Guid, IntPtr) 方法的返回值。Provides return values for the GetInterface(Guid, IntPtr) method.
public enum class CustomQueryInterfaceResult
[System.Obsolete("CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.")]
public enum CustomQueryInterfaceResult
public enum CustomQueryInterfaceResult
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum CustomQueryInterfaceResult
[<System.Obsolete("CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.")>]
type CustomQueryInterfaceResult =
type CustomQueryInterfaceResult =
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
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 | 未使用自定义的 |