1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
- Bind to IOXIDResolver
- ServerAlive2()
- Bind to ISystemActivator
with dcom, there is a new attribute for interfaces, 'object'. these
object-oriented interfaces support inheritance. Everything that has the
attribute 'object' has ([in] ORPCTHIS *this, [out] ORPCTHAT *that) as first
arguments.
OXID = Object Exporter ID
Everything based on IDispatch implements:
/*****************/
/* Function 0x00 */
HRESULT QueryInterface(
[in] ORPCTHIS *this,
[out] ORPCTHAT *that,
[in] IID *riid,
[out] /* [iid_is] */ void **ppvObject);
/*****************/
/* Function 0x01 */
ULONG AddRef (
[in] ORPCTHIS *this,
[out] ORPCTHAT *that
);
/*****************/
/* Function 0x02 */
ULONG Release(
[in] ORPCTHIS *this,
[out] ORPCTHAT *that
);
/*****************/
/* Function 0x03 */
HRESULT GetTypeInfoCount(
[in] ORPCTHIS *this,
[out] ORPCTHAT *that,
[out] UINT *pctinfo);
/*****************/
/* Function 0x04 */
HRESULT GetTypeInfo (
[in] ORPCTHIS *this,
[out] ORPCTHAT *that,
[in] UINT iTInfo,
[in] LCID lcid,
[out] ITypeInfo **ppTInfo);
/*****************/
/* Function 0x05 */
HRESULT GetIDsOfNames(
[in] ORPCTHIS *this,
[out] ORPCTHAT *that,
[in] IID *riid,
[size_is][in] LPOLESTR *rgszNames,
[in] UINT cNames,
[in] LCID lcid,
[size_is][out] DISPID *rgDispId);
/*****************/
/* Function 0x06 */
HRESULT Invoke(
[in] ORPCTHIS *this,
[out] ORPCTHAT *that,
[in] DISPID dispIdMember,
[in] IID *riid,
[in] LCID lcid,
[in] WORD wFlags,
[out][in] DISPPARAMS *pDispParams,
[out] VARIANT *pVarResult,
[out] EXCEPINFO *pExcepInfo,
[out] UINT *puArgErr);
|