Collapse the table of content
Expand the table of content
Expand Minimize

CustomQueryInterfaceResult Enumeration


Provides return values for the GetInterface method.

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

public enum CustomQueryInterfaceResult

Member nameDescription

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.


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


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

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft