CustomQueryInterfaceResult Výčet

Definice

Upozornění

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

Poskytuje návratové hodnoty pro metodu 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
Dědičnost
CustomQueryInterfaceResult
Atributy

Pole

Failed 2

Rozhraní pro konkrétní ID rozhraní není k dispozici. V tomto případě je vrácené rozhraní null. E_NOINTERFACE se vrátí volajícímu IUnknown::QueryInterface.

Handled 0

Ukazatel rozhraní vrácený z GetInterface(Guid, IntPtr) metody lze použít jako výsledek IUnknown::QueryInterface.

NotHandled 1

Vlastní QueryInterface se nepoužíval. Místo toho by se měla použít výchozí implementace IUnknown::QueryInterface .

Platí pro