CustomQueryInterfaceResult Enumerazione

Definizione

Attenzione

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

Fornisce i valori restituiti per il metodo GetInterface(Guid, IntPtr).

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
Ereditarietà
CustomQueryInterfaceResult
Attributi

Campi

Nome Valore Descrizione
Handled 0

Il puntatore di interfaccia restituito dal GetInterface(Guid, IntPtr) metodo può essere usato come risultato di IUnknown::QueryInterface.

NotHandled 1

L'oggetto personalizzato QueryInterface non è stato utilizzato. È invece consigliabile usare l'implementazione predefinita di IUnknown::QueryInterface .

Failed 2

L'interfaccia per un ID di interfaccia specifico non è disponibile. In questo caso, l'interfaccia restituita è null. E_NOINTERFACE viene restituito al chiamante di IUnknown::QueryInterface.

Si applica a