CDotNetGetCOMInterface
- Updated2023-02-21
- 1 minute(s) read
int CDotNetGetCOMInterface (CDotNetHandle handle, IUnknown **interfacePointer);
Purpose
Returns the COM interface pointer for the specified .NET COM wrapper object.
Parameters
| Input | ||
| Name | Type | Description |
| handle | CDotNetHandle | The handle of a .NET COM wrapper object. |
| Output | ||
| Name | Type | Description |
| interfacePointer | IUnknown * | The COM interface of the specified .NET COM wrapper object. |
Return Value
| Name | Type | Description |
| status | int | A value indicating whether an error occurred. Negative error codes indicate function failure. Error codes are defined in cvi\include\cvidotnet.h. You can use CDotNetGetErrorDescription to get the description of an error code. |
Additional Information
Library: .NET Library
Include file: cvidotnet.h
LabWindows/CVI compatibility: LabWindows/CVI 8.0 and later