CustomQueryInterfaceResult Enum
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.
Caution
CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.
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
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
Handled | 0 | The interface pointer that is returned from the GetInterface(Guid, IntPtr) method can be used as the result of IUnknown::QueryInterface. |
NotHandled | 1 | The custom |
Failed | 2 | The interface for a specific interface ID is not available. In this case, the returned interface is |