ReactOS
0.4.16-dev-2320-ge1853c6
combaseapi.h
Go to the documentation of this file.
1
/*
2
* Copyright 2021 Jacek Caban for CodeWeavers
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17
*/
18
19
#include <
rpc.h
>
20
#include <
rpcndr.h
>
21
22
#ifndef _COMBASEAPI_H_
23
#define _COMBASEAPI_H_
24
25
#ifndef RC_INVOKED
26
#include <stdlib.h>
27
#endif
28
29
#include <objidlbase.h>
30
#include <
guiddef.h
>
31
32
#ifndef INITGUID
33
#include <
cguid.h
>
34
#endif
35
36
#ifdef __cplusplus
37
extern
"C"
{
38
#endif
39
40
typedef
struct
tagServerInformation
41
{
42
DWORD
dwServerPid
;
43
DWORD
dwServerTid
;
44
UINT64
ui64ServerAddress
;
45
}
ServerInformation
, *
PServerInformation
;
46
47
enum
AgileReferenceOptions
48
{
49
AGILEREFERENCE_DEFAULT
,
50
AGILEREFERENCE_DELAYEDMARSHAL
51
};
52
53
HRESULT
WINAPI
CoDecodeProxy
(
_In_
DWORD
client_pid
,
_In_
UINT64
proxy_addr,
_Out_
ServerInformation
*
server_info
);
54
HRESULT
WINAPI
RoGetAgileReference
(
_In_
enum
AgileReferenceOptions
options
,
_In_
REFIID
riid
,
_In_
IUnknown
*
obj
,
_Out_
IAgileReference
**
agile_reference
);
55
56
#ifdef __cplusplus
57
extern
"C++"
template
<
typename
T>
void
**IID_PPV_ARGS_Helper(
T
**
obj
)
58
{
59
(
void
)
static_cast<
IUnknown
*
>
(*
obj
);
60
return
reinterpret_cast<
void
**
>
(
obj
);
61
}
62
#define IID_PPV_ARGS(obj) __uuidof(**(obj)), IID_PPV_ARGS_Helper(obj)
63
#endif
/* __cplusplus */
64
65
#ifdef __cplusplus
66
}
67
#endif
68
69
#endif
/* _COMBASEAPI_H_ */
UINT64
COMPILER_DEPENDENT_UINT64 UINT64
Definition:
actypes.h:131
cguid.h
AgileReferenceOptions
AgileReferenceOptions
Definition:
combaseapi.h:48
AGILEREFERENCE_DEFAULT
@ AGILEREFERENCE_DEFAULT
Definition:
combaseapi.h:49
AGILEREFERENCE_DELAYEDMARSHAL
@ AGILEREFERENCE_DELAYEDMARSHAL
Definition:
combaseapi.h:50
PServerInformation
struct tagServerInformation * PServerInformation
CoDecodeProxy
HRESULT WINAPI CoDecodeProxy(_In_ DWORD client_pid, _In_ UINT64 proxy_addr, _Out_ ServerInformation *server_info)
ServerInformation
struct tagServerInformation ServerInformation
RoGetAgileReference
HRESULT WINAPI RoGetAgileReference(_In_ enum AgileReferenceOptions options, _In_ REFIID riid, _In_ IUnknown *obj, _Out_ IAgileReference **agile_reference)
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
riid
REFIID riid
Definition:
atlbase.h:39
HRESULT
Definition:
metahost.idl:58
IAgileReference
Definition:
objidlbase.idl:102
IUnknown
Definition:
unknwn.idl:39
void
Definition:
nsiface.idl:2307
client_pid
static DWORD client_pid
Definition:
msiexec.c:401
_Out_
#define _Out_
Definition:
no_sal2.h:160
_In_
#define _In_
Definition:
no_sal2.h:158
REFIID
#define REFIID
Definition:
guiddef.h:118
rpcndr.h
T
#define T(num)
Definition:
thunks.c:311
rpc.h
agile_reference
Definition:
roapi.c:237
obj
Definition:
usrmarshal.c:1272
options
Definition:
btrfslib.c:113
server_info
Definition:
nfs41_server.c:70
tagServerInformation
Definition:
combaseapi.h:41
tagServerInformation::dwServerPid
DWORD dwServerPid
Definition:
combaseapi.h:42
tagServerInformation::ui64ServerAddress
UINT64 ui64ServerAddress
Definition:
combaseapi.h:44
tagServerInformation::dwServerTid
DWORD dwServerTid
Definition:
combaseapi.h:43
WINAPI
#define WINAPI
Definition:
msvc.h:6
guiddef.h
sdk
include
psdk
combaseapi.h
Generated on Mon Mar 2 2026 06:16:42 for ReactOS by
1.9.6