#include "epm_s.h"
#include "wine/debug.h"
#include "wine/list.h"
Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (ole) |
|
static void | delete_registered_ept_entry (struct registered_ept_entry *entry) |
|
static struct registered_ept_entry * | find_ept_entry (const RPC_SYNTAX_IDENTIFIER *iface, const RPC_SYNTAX_IDENTIFIER *syntax, const char *protseq, const char *endpoint, const char *address, const UUID *object) |
|
void __RPC_USER | ept_lookup_handle_t_rundown (ept_lookup_handle_t entry_handle) |
|
void __cdecl | ept_insert (handle_t h, unsigned32 num_ents, ept_entry_t entries[], boolean32 replace, error_status_t *status) |
|
void __cdecl | ept_delete (handle_t h, unsigned32 num_ents, ept_entry_t entries[], error_status_t *status) |
|
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) |
|
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) |
|
void __cdecl | ept_lookup_handle_free (handle_t h, ept_lookup_handle_t *entry_handle, error_status_t *status) |
|
void __cdecl | ept_inq_object (handle_t h, GUID *ept_object, error_status_t *status) |
|
void __cdecl | ept_mgmt_delete (handle_t h, boolean32 object_speced, uuid_p_t object, twr_p_t tower, error_status_t *status) |
|
◆ delete_registered_ept_entry()
Definition at line 54 of file epmp.c.
55{
61}
static void list_remove(struct list_entry *entry)
#define HeapFree(x, y, z)
void WINAPI I_RpcFree(void *Object)
Referenced by ept_delete(), and ept_insert().
◆ ept_delete()
Definition at line 142 of file epmp.c.
146{
149
151
153
155
156 for (
i = 0;
i < num_ents;
i++)
157 {
166 break;
168
172
175 else
176 {
178 break;
179 }
180 }
181
183}
static struct registered_ept_entry * find_ept_entry(const RPC_SYNTAX_IDENTIFIER *iface, const RPC_SYNTAX_IDENTIFIER *syntax, const char *protseq, const char *endpoint, const char *address, const UUID *object)
static void delete_registered_ept_entry(struct registered_ept_entry *entry)
static CRITICAL_SECTION csEpm
GLfloat GLfloat GLfloat GLfloat h
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
RPC_STATUS WINAPI TowerExplode(const twr_t *tower, PRPC_SYNTAX_IDENTIFIER object, PRPC_SYNTAX_IDENTIFIER syntax, char **protseq, char **endpoint, char **address)
RPC_SYNTAX_IDENTIFIER iface
RPC_SYNTAX_IDENTIFIER syntax
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
#define EPT_S_NOT_REGISTERED
◆ ept_inq_object()
Definition at line 270 of file epmp.c.
273{
275
277}
#define EPT_S_CANT_PERFORM_OP
◆ ept_insert()
Definition at line 92 of file epmp.c.
97{
100
102
104
106
107 for (
i = 0;
i < num_ents;
i++)
108 {
111 {
112
114 break;
115 }
116 memcpy(
entry->annotation, entries[
i].annotation,
sizeof(entries[
i].annotation));
121 {
122 WINE_WARN(
"TowerExplode failed %u\n", rpc_status);
125 break;
126 }
127
128 entry->object = entries[
i].object;
129
131 {
132
135 }
137 }
138
140}
static void list_add_tail(struct list_entry *head, struct list_entry *entry)
static struct list registered_ept_entry_list
#define memcpy(s1, s2, n)
INT replace(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], DWORD dwFlags, BOOL *doMore)
Referenced by epm_register(), and RpcEpUnregister().
◆ ept_lookup()
◆ ept_lookup_handle_free()
◆ ept_lookup_handle_t_rundown()
void __RPC_USER ept_lookup_handle_t_rundown |
( |
ept_lookup_handle_t |
entry_handle | ) |
|
◆ ept_map()
Definition at line 201 of file epmp.c.
209{
212 char *protseq;
214
216 *num_towers = 0;
217
218 WINE_TRACE(
"(%p, %p, %p, %p, %u, %p, %p, %p)\n",
h,
object, map_tower,
219 entry_handle, max_towers, num_towers, towers,
status);
220
224 {
226 return;
227 }
228
230
232 {
239 {
240 if (*num_towers < max_towers)
241 {
245 &towers[*num_towers]);
247 {
249 break;
250 }
251 }
252 (*num_towers)++;
253 }
254 }
255
257
259}
int strcmp(const char *String1, const char *String2)
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
static const UUID nil_object
#define IsEqualGUID(rguid1, rguid2)
RPC_STATUS WINAPI TowerConstruct(const RPC_SYNTAX_IDENTIFIER *object, const RPC_SYNTAX_IDENTIFIER *syntax, const char *protseq, const char *endpoint, const char *address, twr_t **tower)
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
RPC_VERSION SyntaxVersion
unsigned short MajorVersion
unsigned short MinorVersion
Referenced by RpcEpResolveBinding().
◆ ept_mgmt_delete()
Definition at line 279 of file epmp.c.
284{
285 WINE_FIXME(
"(%p, %d, %p, %p, %p): stub\n",
h, object_speced,
object, tower,
status);
286
288}
◆ find_ept_entry()
Definition at line 63 of file epmp.c.
67{
70 {
75 WINE_TRACE(
"found entry with iface %d.%d %s, syntax %d.%d %s, protseq %s, object %s\n",
76 entry->iface.SyntaxVersion.MajorVersion,
entry->iface.SyntaxVersion.MinorVersion,
78 entry->syntax.SyntaxVersion.MajorVersion,
entry->syntax.SyntaxVersion.MinorVersion,
82 }
85}
static __inline const char * wine_dbgstr_guid(const GUID *id)
Referenced by ept_delete(), and ept_insert().
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
ole |
| ) |
|
◆ critsect_debug
Initial value:=
{
}
static CRITICAL_SECTION_DEBUG critsect_debug
LIST_ENTRY ProcessLocksList
Definition at line 43 of file epmp.c.
◆ csEpm
◆ nil_object
◆ registered_ept_entry_list