ReactOS  0.4.15-dev-1201-gb2cf5a4
epm.idl
Go to the documentation of this file.
1 /*
2  * Endpoint Mapper
3  *
4  * Copyright 2006 Robert Shearman (for CodeWeavers)
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20 
21 /* FIXME: should be import */
22 #include "dcetypes.idl"
23 
24 cpp_quote("RPC_STATUS WINAPI TowerExplode(")
26 cpp_quote(" char **protseq, char **endpoint, char **address);")
29 cpp_quote(" const char *protseq, const char *endpoint, const char *address,")
30 cpp_quote(" twr_t **tower);")
31 
32 [
33  uuid(e1af8308-5d1f-11c9-91a4-08002b14a0fa),
34  version(3.0),
36 ]
38 {
39  const long ept_max_annotation_size = 64;
40 
41  typedef struct
42  {
45  [string] char annotation[ept_max_annotation_size];
47 
48  typedef [context_handle] void *ept_lookup_handle_t;
49 
50  /* Adds entries to an endpoint map */
51  void ept_insert(
52  [in] handle_t h,
53  [in] unsigned32 num_ents,
54  [in, size_is(num_ents)]
55  ept_entry_t entries[],
58  );
59 
60  /* Removes entries from an endpoint map */
61  void ept_delete(
62  [in] handle_t h,
63  [in] unsigned32 num_ents,
64  [in, size_is(num_ents)]
65  ept_entry_t entries[],
67  );
68 
69  /* Lookup entries in an endpoint map */
70  [idempotent]
71  void ept_lookup(
72  [in] handle_t h,
73  [in] unsigned32 inquiry_type,
74  [in] uuid_p_t object,
75  [in] rpc_if_id_p_t interface_id,
76  [in] unsigned32 vers_option,
77  [in, out] ept_lookup_handle_t *entry_handle,
78  [in] unsigned32 max_ents,
79  [out] unsigned32 *num_ents,
80  [out, length_is(*num_ents), size_is(max_ents)]
81  ept_entry_t entries[],
83  );
84 
85  /* Lookup entries in an endpoint map using the given input pattern */
86  [idempotent]
87  void ept_map(
88  [in] handle_t h,
89  [in] uuid_p_t object,
90  [in] twr_p_t map_tower,
91  [in, out] ept_lookup_handle_t *entry_handle,
92  [in] unsigned32 max_towers,
93  [out] unsigned32 *num_towers,
94  [out, length_is(*num_towers), size_is(max_towers)]
95  twr_p_t *towers,
97  );
98 
99  /* Free the context handle returned by ept_lookup or ept_map */
101  [in] handle_t h,
102  [in, out] ept_lookup_handle_t *entry_handle,
104  );
105 
106  /* Inquires as to the endpoint map's object identifier */
107  [idempotent]
108  void ept_inq_object(
109  [in] handle_t h,
110  [out] GUID *ept_object,
112  );
113 
114  /* Deletes matching entries in the endpoint map */
115  void ept_mgmt_delete(
116  [in] handle_t h,
117  [in] boolean32 object_speced,
118  [in] uuid_p_t object,
119  [in] twr_p_t tower,
121  );
122 }
RPC_STATUS WINAPI TowerConstruct(") cpp_quote(" const RPC_SYNTAX_IDENTIFIER *object, const RPC_SYNTAX_IDENTIFIER *syntax,") cpp_quote(" const char *protseq, const char *endpoint, const char *address,") cpp_quote(" twr_t **tower)
twr_t * tower
Definition: epm.idl:44
void __cdecl ept_delete(handle_t h, unsigned32 num_ents, ept_entry_t entries[], error_status_t *status)
Definition: epmp.c:142
GUID object
Definition: epm.idl:43
static const struct update_accum a4
Definition: msg.c:2285
void __cdecl ept_lookup(handle_t h, unsigned32 inquiry_type, uuid_p_t object, rpc_if_id_p_t interface_id, unsigned32 vers_option, ept_lookup_handle_t *entry_handle, unsigned32 max_ents, unsigned32 *num_ents, ept_entry_t entries[], error_status_t *status)
Definition: epmp.c:185
Definition: send.c:48
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
long RPC_STATUS
Definition: rpc.h:52
static const WCHAR version[]
Definition: asmname.c:66
Definition: rpc.c:44
void __cdecl ept_map(handle_t h, uuid_p_t object, twr_p_t map_tower, ept_lookup_handle_t *entry_handle, unsigned32 max_towers, unsigned32 *num_towers, twr_p_t *towers, error_status_t *status)
Definition: epmp.c:201
INT replace(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], DWORD dwFlags, BOOL *doMore)
Definition: replace.c:47
unsigned32 boolean32
Definition: dcetypes.idl:30
#define WINAPI
Definition: msvc.h:6
static FILE * out
Definition: regtests2xml.c:44
GLuint address
Definition: glext.h:9393
#define interface
Definition: basetyps.h:61
char string[160]
Definition: util.h:11
Definition: epm.idl:37
Definition: nis.h:10
unsigned int unsigned32
Definition: rpc.c:43
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
void __cdecl ept_mgmt_delete(handle_t h, boolean32 object_speced, uuid_p_t object, twr_p_t tower, error_status_t *status)
Definition: epmp.c:279
unsigned long error_status_t
Definition: basetyps.h:83
void * ept_lookup_handle_t
Definition: epm.idl:48
Definition: msctf.idl:510
#define annotation(x)
Definition: dispex.idl:19
#define const
Definition: zconf.h:230
void __cdecl ept_inq_object(handle_t h, GUID *ept_object, error_status_t *status)
Definition: epmp.c:270
Definition: epm.idl:41
void __cdecl ept_lookup_handle_free(handle_t h, ept_lookup_handle_t *entry_handle, error_status_t *status)
Definition: epmp.c:261
void __cdecl ept_insert(handle_t h, unsigned32 num_ents, ept_entry_t entries[], boolean32 replace, error_status_t *status)
Definition: epmp.c:92
Definition: ps.c:97