CustomQueryInterfaceResult CustomQueryInterfaceResult CustomQueryInterfaceResult CustomQueryInterfaceResult Enum

Definition

Warning

This API is now obsolete.

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
Inheritance
CustomQueryInterfaceResultCustomQueryInterfaceResultCustomQueryInterfaceResultCustomQueryInterfaceResult
Attributes

Fields

Failed Failed Failed Failed 2

The interface for a specific interface ID is not available. In this case, the returned interface is null. E_NOINTERFACE is returned to the caller of IUnknown::QueryInterface.

Handled Handled Handled Handled 0

The interface pointer that is returned from the GetInterface(Guid, IntPtr) method can be used as the result of IUnknown::QueryInterface.

NotHandled NotHandled NotHandled NotHandled 1

The custom QueryInterface was not used. Instead, the default implementation of IUnknown::QueryInterface should be used.

Applies to