newObjects-logo.gif (1024 bytes) ScriptManager2 reference

Operators adding parameters to the parameter list for the dispatch method that will be called later

DISPCALLER& DISPCALLER::operator << (
int v // Value to add to the parameter list
);
DISPCALLER& DISPCALLER::operator << (
LPCTSTR v // Value to add to the parameter list
);
DISPCALLER& DISPCALLER::operator << (
IUnknown* v // Value to add to the parameter list
);
DISPCALLER& DISPCALLER::operator << (
IDispatch* v // Value to add to the parameter list
);
DISPCALLER& DISPCALLER::operator << (
VARIANT v // Value to add to the parameter list
);

These operators add the right operand in the internally maintained safe array used later to pass parameters to the dispatch method.

 

Remarks:

Note that the parameters will be passed in the reverse order to the called method.

DISPCALLER will take care for the passed interface pointers reference counting.

See also:

VariantCall method

newObjects Copyright newObjects 2001-2005