FW_ObjMgr_DeleteInstance

This function puts the object in the Init state. After that the reference counter of the object is decremented, analogous to ITcUnknown.TcRelease(), and the interface pointer is set to zero at the same time.
Return value
FW_ObjMgr_DeleteInstance : HRESULT;
Name | Type | Description |
---|---|---|
FW_ObjMgr_DeleteInstance | HRESULT | Returns S_OK if the function call was successful. |
Inputs
VAR_INPUT
pipUnk : POINTER TO ITcUnknown;
END_VAR
Name | Type | Description |
---|---|---|
pipUnk | POINTER TO ITcUnknown | Specifies the address of the interface pointer to the object. The interface pointer is checked internally for null pointers. |
Requirements
TwinCAT Version | Hardware | Libraries to be integrated |
---|---|---|
TwinCAT 3.1, Build 4020 | x86, x64, ARM | Tc3_Module |