CustomQueryInterfaceResult Enumeration

CustomQueryInterfaceResult Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Provides return values for the GetInterface method.

Namespace:  System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

No code example is currently available or this language may not be supported.

Member nameDescription
FailedThe interface for a specific interface ID is not available. In this case, the returned interface is nullptr. E_NOINTERFACE is returned to the caller of IUnknown::QueryInterface.
HandledThe interface pointer that is returned from the GetInterface method can be used as the result of IUnknown::QueryInterface.
NotHandledThe custom QueryInterface was not used. Instead, the default implementation of IUnknown::QueryInterface should be used.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft