Messenger Plus! Live - Scripting Documentation

The DataBloc::WriteInterfacePtr function writes an IDispatch pointer (32bits) in the memory block.

Syntax

[object] WriteInterfacePtr(
    [number] Offset,
    [object] Object
);

Parameters

Offset
[number] Index in the memory block where the pointer will be written. It must be between 0 and Size-4.
Object
[number] The object which IDispatch interface pointer will be queried and written.

Return Value

No value is returned by this function.

This function typically fails for the following reason:

Remarks

This function only writes a pointer to an existing object to be used by an external library. It does not store the actual content of any object and does not increase their reference count either.

Function Information

Object DataBloc
Availability Messenger Plus! Live 4.00

See Also

DataBloc Object, ReadInterfacePtr.