Go to the source code of this
file.
Define Documentation
#define
MS_E_EXCEPTION MAKE_SCODE(SEVERITY_ERROR,
FACILITY_ITF, 0x0200) |
Definition at line 16 of file OLE.h.
#define
MS_E_ILLEGAL_RETURN_VALUE MS_E_EXCEPTION +
0x001 |
Definition at line 17 of file OLE.h.
#define is_OLEObject |
( |
|
v |
) |
((DbgVerify(!is_sourcepositionwrapper(v)),
(v))->tag == class_tag(OLEObject)) |
#define is_OLEMethod |
( |
|
v |
) |
((DbgVerify(!is_sourcepositionwrapper(v)),
(v))->tag == class_tag(OLEMethod)) |
#define is_SafeArrayWrapper |
( |
|
v |
) |
((DbgVerify(!is_sourcepositionwrapper(v)),
(v))->tag == class_tag(SafeArrayWrapper)) |
Function Documentation
visible_class |
( |
OLEObject |
|
) |
|
Definition at line 72 of file OLE.h.
: public Value
{
public:
Value* progID;
CLSID clsid;
LPDISPATCH pdisp;
OLEObject(Value* progID, CLSID cslid, LPDISPATCH pdisp);
OLEObject(Value* progID, LPDISPATCH pdisp);
~OLEObject();
#define is_OLEObject(v) ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(OLEObject))
classof_methods (OLEObject, Value);
void collect() { delete this; }
void gc_trace();
ScripterExport void sprin1(CharStream* s);
Value* get_property(Value** arg_list, int count);
Value* set_property(Value** arg_list, int count);
Value* get_fn_property(Value* prop);
};
visible_class |
( |
OLEMethod |
|
) |
|
Definition at line 96 of file OLE.h.
: public Function
{
public:
OLEObject* ole_obj;
DISPID dispid;
OLEMethod() { }
OLEMethod(MCHAR* name, OLEObject* ole_obj, DISPID mth_id);
#define is_OLEMethod(v) ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(OLEMethod))
classof_methods (OLEMethod, Function);
void collect() { delete this; }
void gc_trace();
Value* apply(Value** arglist, int count, CallContext* cc=NULL);
};
applyable_class_debug_ok |
( |
SafeArrayWrapper |
|
) |
|
Define an equal operator (i.e. '==') for maxscript visible
values.
Define a NOT equal operator (i.e. '!=') for maxscript visible
values.
Definition at line 116 of file OLE.h.
: public Value
{
friend SafeArrayWrapperClass;
public:
Value* dataArray;
Value* lBoundsArray;
int numDims;
ScripterExport SafeArrayWrapper();
ScripterExport SafeArrayWrapper(Array* dataArray, int nDims);
ScripterExport SafeArrayWrapper(Array* dataArray, Array* lBoundsArray, int nDims);
ScripterExport SafeArrayWrapper(SAFEARRAY *psa, Value* progID);
ScripterExport SAFEARRAY* to_SAFEARRAY();
ScripterExport static int GetDataArrayDimensions(Array* testArray);
ScripterExport static void CheckDataArray(Array* testArray, int nDims, int* pCount = NULL);
#define is_SafeArrayWrapper(v) ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(SafeArrayWrapper))
classof_methods (SafeArrayWrapper, Value);
void collect() { delete this; }
void gc_trace();
ScripterExport void sprin1(CharStream* s);
#include "..\macros\define_implementations.h"
use_generic( copy, "copy");
Value* get_property(Value** arg_list, int count);
Value* set_property(Value** arg_list, int count);
};
BOOL init_MAXScript_OLE |
( |
|
) |
|