FW_ObjMgr_DeleteInstance

FW_ObjMgr_DeleteInstance 1:

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.

FW_ObjMgr_DeleteInstance 2: Return value

FW_ObjMgr_DeleteInstance : HRESULT;

Name

Type

Description

FW_ObjMgr_DeleteInstance

HRESULT

Returns S_OK if the function call was successful.

FW_ObjMgr_DeleteInstance 3: 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