GetAutomationNativePointer

Description

Gets a pointer to the OLE object associated with the OLEObject variable. The pointer lets you call OLE functions in an external DLL for the object.

Applies to

OLEObject

Syntax

oleobject.GetAutomationNativePointer ( pointer )

Returns

Integer. Returns 0 if it succeeds and -1 if an error occurs.