maxscript/util/OLE.h File Reference

OLE.h File Reference

Classes

class  MSClassFactory
 
class  MSOLEObject
 

Macros

#define MS_E_EXCEPTION   MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
 
#define MS_E_ILLEGAL_RETURN_VALUE   MS_E_EXCEPTION + 0x001
 
#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))
 
#define UNUSED(X)   (X)
 

Functions

 OLEObject (Value *progID, CLSID cslid, LPDISPATCH pdisp)
 
 OLEObject (Value *progID, LPDISPATCH pdisp)
 
 ~OLEObject ()
 
 classof_methods (OLEObject, Value)
 
void collect ()
 
void gc_trace ()
 
ScripterExport void sprin1 (CharStream *s)
 
Valueget_property (Value **arg_list, int count)
 
Valueset_property (Value **arg_list, int count)
 
Valueget_fn_property (Value *prop)
 
 OLEMethod ()
 
 OLEMethod (const MCHAR *name, OLEObject *ole_obj, DISPID mth_id)
 
 classof_methods (OLEMethod, Function)
 
Valueapply (Value **arglist, int count, CallContext *cc=NULL)
 
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 ()
 
static ScripterExport int GetDataArrayDimensions (Array *testArray)
 
static ScripterExport void CheckDataArray (Array *testArray, int nDims, int *pCount=NULL)
 
 classof_methods (SafeArrayWrapper, Value)
 

Variables

visible_class(OLEObject) class
OLEObject CLSID 
clsid
 
LPDISPATCH pdisp
 
visible_class(OLEMethod) class
OLEMethod DISPID 
dispid
 
ValuedataArray
 
ValuelBoundsArray
 
int numDims
 

Macro Definition Documentation

#define MS_E_EXCEPTION   MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
#define MS_E_ILLEGAL_RETURN_VALUE   MS_E_EXCEPTION + 0x001
#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))
#define UNUSED (   X)    (X)

Function Documentation

OLEObject ( Value progID,
CLSID  cslid,
LPDISPATCH  pdisp 
)
OLEObject ( Value progID,
LPDISPATCH  pdisp 
)
~OLEObject ( )
classof_methods ( OLEObject  ,
Value   
)
void collect ( )
void gc_trace ( )
ScripterExport void sprin1 ( CharStream s)
351 { s->printf(_M("LabelControl:%s"), name->to_string()); }
Value * name
Definition: structs.h:25
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:122
virtual const MCHAR * to_string()
Definition: value.h:171
Value* get_property ( Value **  arg_list,
int  count 
)
Value* set_property ( Value **  arg_list,
int  count 
)
Value* get_fn_property ( Value prop)
OLEMethod ( )
104 { }
OLEMethod ( const MCHAR name,
OLEObject ole_obj,
DISPID  mth_id 
)
classof_methods ( OLEMethod  ,
Function   
)
Value* apply ( Value **  arglist,
int  count,
CallContext cc = NULL 
)
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 ( )
static ScripterExport int GetDataArrayDimensions ( Array testArray)
static
static ScripterExport void CheckDataArray ( Array testArray,
int  nDims,
int pCount = NULL 
)
static
classof_methods ( SafeArrayWrapper  ,
Value   
)

Variable Documentation

visible_class (OLEObject) class OLEObject CLSID clsid
LPDISPATCH pdisp
visible_class (OLEMethod) class OLEMethod DISPID dispid
Value* dataArray
Value* lBoundsArray
int numDims