Share

AcAxGetIUnknownOfObject

C++

HRESULT AXAUTOEXP AcAxGetIUnknownOfObject(
    LPUNKNOWN* ppUnk, 
    AcDbObjectId& objId, 
    LPDISPATCH pApp
);

File

axboiler.h

Description

Given the AcDbObjectId of a database object, returns the IUnknown pointer of COM wrapper associated with the object.

Parameters

Parameters Description
ppUnk Output IUnknown pointer
objId Input database-resident object
pApp Input IDispatch of the Application object being used

Was this information helpful?