24 #include "idl_types.h" 27 uuid(
"f5cc5a18-4264-101a-8c59-08002b2f8426"),
28 endpoint(
"ncacn_np:[\\pipe\\exchange_nsp]",
"ncacn_ip_tcp:"),
29 pointer_default(unique),
31 helpstring(
"Exchange 5.5 Name Service Provider"),
36 #include "mapitags_enum.h" 37 #include "mapicodes_enum.h" 47 typedef struct _MAPIUID{
61 typedef [flag(NDR_NOALIGN)]
struct {
64 MAPIUID service_provider;
66 input_locale input_locale;
70 [unique, length_is(cValues - 1), size_is(cValues - 1)] MAPITAGS *aulPropTag;
75 [length_is(cValues - 1), size_is(cValues - 1)] uint32 *value;
85 [in] MAPI_SETTINGS *settings,
86 [in,out,unique] GUID *mapiuid,
87 [out] policy_handle *handle
92 MAPISTATUS NspiUnbind(
93 [in, out] policy_handle *handle,
98 void NspiUpdateStat();
102 MAPISTATUS NspiQueryRows(
103 [in] policy_handle *handle,
105 [in,out] MAPI_SETTINGS *settings,
107 [in][size_is(lRows)][unique] uint32 *instance_key,
109 [in] SPropTagArray *REQ_properties,
110 [out] SRowSet **RowSet
113 void NspiSeekEntries();
121 [unique] MAPIUID *lpguid;
127 typedef [v1_enum]
enum {
133 RES_COMPAREPROPS = 5,
137 RES_SUBRESTRICTION = 9,
139 } nspi_RestrictionType;
145 } SPropertyRestriction;
149 [size_is(cRes)][unique]SRestriction *lpRes;
152 typedef [switch_type(nspi_RestrictionType)]
union {
153 [
case(RES_AND) ] SAndRestriction resAnd;
157 [
case(RES_PROPERTY) ] SPropertyRestriction resProperty;
165 typedef [
public]
struct _SRestriction{
166 nspi_RestrictionType rt;
167 [switch_is(rt)] SRestriction_CTR res;
171 #define TABLE_SORT_ASCEND 0 172 #define TABLE_SORT_DESCEND 0 174 typedef [
public]
struct _SSortOrder{
179 typedef [
public]
struct _SSortOrderSet{
183 [size_is(cSorts)][unique]SSortOrder *aSort;
186 MAPISTATUS NspiGetMatches(
187 [in] policy_handle *handle,
188 [in] uint32 unknown1,
189 [in,out] MAPI_SETTINGS *settings,
190 [in][unique] SPropTagArray *PropTagArray,
191 [in] uint32 unknown2,
192 [in][unique] SRestriction *restrictions,
193 [in] uint32 unknown3,
194 [out] instance_key *instance_key,
195 [in][unique] SPropTagArray *REQ_properties,
196 [out] SRowSet **RowSet
200 void NspiResortRestriction();
206 [string, charset(DOS)] uint8 *str;
209 MAPISTATUS NspiDNToEph(
210 [in] policy_handle *handle,
213 [in,ref][size_is(size)] NAME_STRING *server_dn,
214 [out] instance_key *instance_key
217 void NspiGetPropList();
221 MAPISTATUS NspiGetProps(
222 [in] policy_handle *handle,
224 [in] MAPI_SETTINGS *settings,
225 [in] SPropTagArray *REQ_properties,
226 [out] SRow **REPL_values
230 void NspiCompareDNTs();
233 typedef [v1_enum]
enum {
234 PT_UNSPECIFIED = 0x0000,
240 PT_CURRENCY = 0x0006,
257 PT_MV_DOUBLE = 0x1005,
258 PT_MV_CURRENCY = 0x1006,
259 PT_MV_APPTIME = 0x1007,
261 PT_MV_STRING8 = 0x101e,
263 PT_MV_UNICODE = 0x101f,
264 PT_MV_SYSTIME = 0x1040,
265 PT_MV_CLSID = 0x1048,
266 PT_MV_BINARY = 0x1102
275 [size_is(cb)][unique] uint8 *lpb;
279 uint32 dwLowDateTime;
280 uint32 dwHighDateTime;
285 [size_is(cValues)] uint16 *lpi;
290 [size_is(cValues)] uint32 *lpl;
294 ascstr_noterm lppszA;
299 [size_is(cValues)] LPSTR **strings;
304 [size_is(cValues)] SBinary *lpbin;
307 typedef [flag(NDR_NOALIGN)]
struct {
309 [size_is(cValues)] uint32 *lpguid;
314 [size_is(cValues)] uint32 *lpi;
319 [size_is(cValues)] FILETIME *lpft;
322 typedef [switch_type(property_types)]
union {
323 [
case(PT_I2)] uint16 i;
324 [
case(PT_LONG)] uint32 l;
325 [
case(PT_BOOLEAN)] uint16 b;
326 [
case(PT_STRING8)][unique][string,charset(DOS)] uint8 *lpszA;
327 [
case(PT_BINARY)] SBinary bin;
328 [
case(PT_UNICODE)] [string,charset(UTF16)] uint16 *lpszW;
329 [
case(PT_CLSID)] MAPIUID *lpguid;
330 [
case(PT_SYSTIME)] FILETIME ft;
331 [
case(PT_ERROR)] MAPISTATUS err;
332 [
case(PT_MV_I2)] SShortArray MVi;
333 [
case(PT_MV_LONG)] MV_LONG_STRUCT MVl;
334 [
case(PT_MV_STRING8)] SLPSTRArray MVszA;
335 [
case(PT_MV_BINARY)] SBinaryArray MVbin;
336 [
case(PT_MV_CLSID)] SGuidArray MVguid;
337 [
case(PT_MV_UNICODE)] MV_UNICODE_STRUCT MVszW;
338 [
case(PT_MV_SYSTIME)] SDateTimeArray MVft;
339 [
case(PT_NULL)] uint32 null;
340 [
case(PT_OBJECT)] uint32
object;
343 typedef [
public]
struct {
346 [switch_is(ulPropTag & 0xFFFF)] SPropValue_CTR value;
350 uint32 ulAdrEntryPad;
352 [size_is(cValues)][unique] SPropValue *lpProps;
356 typedef [
public]
struct {
358 [size_is(cRows)] SRow aRow[*];
361 MAPISTATUS NspiGetHierarchyInfo(
362 [in] policy_handle *handle,
363 [in] uint32 unknown1,
364 [in] MAPI_SETTINGS *settings,
365 [in,out] uint32 *unknown2,
366 [out] SRowSet **RowSet
369 void NspiGetTemplateInfo();
370 void NspiModLInkAtt();
371 void NspiDeleteEntries();
372 void NspiQueryColumns();
373 void NspiGetNamesFromIDs();
374 void NspiGetIDsFromNames();
375 void NspiResolveNames();
376 void NspiResolveNamesW();
Definition: packet-epl.h:72
Definition: conversation.c:27