A OLE automation client object that uses the IDispatchEx scripting interface..
-
-
Provides access to properties and methods exposed by a PyIDispatchEx object.
-
-
-
-
Returns the name associated with a member id
-
Enumerates member ids.
PyIDispatchEx.DeleteMemberByDispID
DeleteMemberByDispID(dispid)
- dispid : int
PyIDispatchEx.DeleteMemberByName
DeleteMemberByName(name, fdex)
-
name : PyUnicode
Passed in name to be mapped
-
fdex : int
Determines the options
PyIDispatchEx.GetDispID
int = GetDispID(name, fdex
) Returns the member id for a name
-
name : PyUnicode
Passed in name to be mapped
-
fdex : int
Determines the options for obtaining the member identifier. This can be a combination of the fdex* constants:
PyIDispatchEx.GetMemberName
str = GetMemberName(dispid) Returns the name associated with a member id
-
dispid : int
The member id
PyIDispatchEx.GetMemberProperties
int = GetMemberProperties(dispid, fdex
) Returns mask of fdex* flags describing a member
-
dispid : int
The member id
-
fdex : int
fdex* flags specifying which properties to return
PyIDispatchEx.GetNextDispID
int = GetNextDispID(fdex, dispid
) Enumerates member ids.
-
fdex : int
Determines the options
-
dispid : int
Current member, or DISPID_STARTENUM to begin enumeration. GetNextDispID will retrieve the item in the enumeration after this one.
PyIDispatchEx.InvokeEx
object = InvokeEx(dispid, lcid
, flags
, args
, types
, returnDesc
, serviceProvider
) Provides access to properties and methods exposed by a PyIDispatchEx object.
-
dispid : int
-
lcid : int
-
flags : int
-
args : [object, ...]
The arguments.
-
types=None : [object, ...]
A tuple of type description object, or None if type descriptions are not available.
-
returnDesc=1 : object|int
If types==None, should be a BOOL indicating if the result is needed. If types is a tuple, then should a be type description.
-
serviceProvider=None : PyIServiceProvider
A service provider object supplied by the caller which allows the object to obtain services from the caller. Can be None.