CustomQueryInterfaceResult Enumeración

Definición

Precaución

CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.

Proporciona valores devueltos para el método GetInterface(Guid, IntPtr).Provides return values for the GetInterface(Guid, IntPtr) method.

public enum class CustomQueryInterfaceResult
public enum CustomQueryInterfaceResult
[System.Obsolete("CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.")]
public enum CustomQueryInterfaceResult
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum CustomQueryInterfaceResult
type CustomQueryInterfaceResult = 
[<System.Obsolete("CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.")>]
type CustomQueryInterfaceResult = 
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type CustomQueryInterfaceResult = 
Public Enum CustomQueryInterfaceResult
Herencia
CustomQueryInterfaceResult
Atributos

Campos

Failed 2

La interfaz para un id. de interfaz concreto no está disponible.The interface for a specific interface ID is not available. En este caso, la interfaz devuelta es null.In this case, the returned interface is null. Se devuelve E_NOINTERFACE al llamador de IUnknown::QueryInterface.E_NOINTERFACE is returned to the caller of IUnknown::QueryInterface.

Handled 0

Puntero a interfaz que devuelve el método GetInterface(Guid, IntPtr) y que puede usarse como el resultado de 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

No se utilizó el QueryInterface personalizado.The custom QueryInterface was not used. En su lugar, se debe usar la implementación predeterminada de IUnknown::QueryInterface.Instead, the default implementation of IUnknown::QueryInterface should be used.

Se aplica a