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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
#ifndef __SMEMOR_HXX__
#define __SMEMOR_HXX__
#define CONNECT_DISABLEDCOM ( 0x1 )
#define CONNECT_MUTUALAUTH ( 0x2 )
#define CONNECT_SECUREREF ( 0x4 )
class CProcess;
typedef CProcess *HPROCESS;
error_status_t __declspec(dllexport)
AllocateReservedIds(
IN long cIdsToReserve,
OUT ID *pidReservedBase);
error_status_t __declspec(dllexport)
Connect(
OUT HPROCESS *phProcess,
OUT ULONG *pdwTimeoutInSeconds,
OUT DUALSTRINGARRAY **ppdsaOrBindings,
OUT MID *pLocalMid,
IN long cIdsToReserve,
OUT ID *pidReservedBase,
OUT ULONG *pfConnectFlags,
OUT DWORD *pAuthnLevel,
OUT DWORD *pImpLevel,
OUT DWORD *pcServerSvc,
OUT USHORT **aServerSvc,
OUT DWORD *pcClientSvc,
OUT USHORT **aClientSvc,
OUT DWORD *pThreadID);
error_status_t __declspec(dllexport)
Disconnect(
IN OUT HPROCESS *phProcess);
error_status_t __declspec(dllexport)
ClientResolveOXID(
IN HPROCESS hProcess,
IN OXID *poxidServer,
IN DUALSTRINGARRAY *pssaServerObjectResolverBindings,
IN long fApartment,
OUT OXID_INFO *poxidInfo,
OUT MID *pLocalMidOfRemote);
error_status_t __declspec(dllexport)
ServerAllocateOXIDAndOIDs(
IN HPROCESS hProcess,
OUT OXID *poxidServer,
IN long fApartment,
IN unsigned long cOids,
OUT OID aOid[ ],
OUT unsigned long *pcOidsAllocated,
IN OXID_INFO *pOxidInfo,
IN DUALSTRINGARRAY *pdsaStringBindings,
IN DUALSTRINGARRAY *pdsaSecurityBindings);
error_status_t __declspec(dllexport)
ServerAllocateOIDs(
IN HPROCESS hProcess,
IN OXID *poxidServer,
IN unsigned long cOids,
OUT OID aOid[ ],
OUT unsigned long *pcOidsAllocated);
error_status_t __declspec(dllexport)
ServerFreeOXIDAndOIDs(
IN HPROCESS hProcess,
IN OXID oxidServer,
IN unsigned long cOids,
IN OID aOids[ ]);
#define OR_PARTIAL_UPDATE ( 1003L )
error_status_t __declspec(dllexport)
ClientAddOID(
IN HPROCESS hProcess,
IN OID OidToBeAdded,
IN OXID OxidForOid,
IN MID MidForOxid
);
error_status_t __declspec(dllexport)
ClientDropOID(
IN HPROCESS hProcess,
IN OID OidToBeRemoved,
IN MID Mid
);
error_status_t __declspec(dllexport)
GetOXID(
IN HPROCESS hProcess,
IN OXID Oxid,
IN DUALSTRINGARRAY *pdsaServerObjectResolverBindings,
IN long fApartment,
IN USHORT wProtseqId,
OUT OXID_INFO &OxidInfo,
OUT MID &LocalMidOfRemote
);
error_status_t __declspec(dllexport)
ServerAllocateOXID(
IN HPROCESS hProcess,
IN long fApartment,
IN OXID_INFO *pOxidInfo,
IN DUALSTRINGARRAY *pdsaStringBindings,
OUT OXID &Oxid
);
error_status_t __declspec(dllexport)
ServerAllocateOID(
IN HPROCESS hProcess,
IN OXID Oxid,
OUT OID &Oid
);
error_status_t __declspec(dllexport)
ServerFreeOXID(
IN HPROCESS hProcess,
IN OXID oxidServer,
IN unsigned long cOids,
IN OID aOids[ ]
);
#endif // __SMEMOR_HXX__
|