CustomQueryInterfaceResult Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.
Provides return values for the GetInterface(Guid, IntPtr) method.
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
- Inheritance
- Attributes
Fields
Failed | 2 | The interface for a specific interface ID is not available. In this case, the returned interface is |
Handled | 0 | The interface pointer that is returned from the GetInterface(Guid, IntPtr) method can be used as the result of IUnknown::QueryInterface. |
NotHandled | 1 | The custom |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈