DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs Search Documentation


IUnknown Interface

QueryInterface
AddRef
Release

HRESULT QueryInterface(REFIID iid, void ** ppvObject )

Parameters

iid- [in] Interface id.

ppvObject - [out] returned pointer to the interface. 

Return Values

S_OK in case of success

E_NOINTERFACE - The interface is not implemented by the object.

Remarks
 
The QueryInterface method gives the caller access to other interfaces on an object. See samples and your development system documentation for more details.
 

ULONG AddRef()

Return Values

Returns an integer from 1 to n, the value of the new reference count. This information is meant to be used for diagnostic/testing purposes only, because, in certain situations, the value may be unstable.

 

Remarks

Increments reference counter for the object. See samples and your development system documentation for more details.


 ULONG Release()

Returns

Resulting reference count.

Remarks

 Call to decrement reference count for the object. See samples and your development system documentation for more details.