ReactOS
0.4.16-dev-1946-g52006dd
ros_extra.c
Go to the documentation of this file.
1
2
#include <stdarg.h>
3
4
#include "rpc.h"
5
#include "
rpcndr.h
"
6
#include "
rpcasync.h
"
7
8
#include "
wine/debug.h
"
9
10
#include "
rpc_binding.h
"
11
#include "
rpc_message.h
"
12
#include "
ndr_stubless.h
"
13
14
WINE_DEFAULT_DEBUG_CHANNEL
(rpc);
15
16
/***********************************************************************
17
* RpcGetAuthorizationContextForClient [RPCRT4.@]
18
*
19
* Called by RpcFreeAuthorizationContext to return the Authz context.
20
*
21
* PARAMS
22
* ClientBinding [I] Binding handle, represents a binding to a client on the server.
23
* ImpersonateOnReturn [I] Directs this function to be represented the client on return.
24
* Reserved1 [I] Reserved, equal to null.
25
* expiration_time [I] Points to the exact date and time when the token expires.
26
* Reserved2 [I] Reserved, equal to a LUID structure which has a members,
27
* each of them is set to zero.
28
* Reserved3 [I] Reserved, equal to zero.
29
* Reserved4 [I] Reserved, equal to null.
30
* authz_client_context [I] Points to an AUTHZ_CLIENT_CONTEXT_HANDLE structure
31
* that has direct pass to Authz functions.
32
*
33
* RETURNS
34
* Success: RPC_S_OK.
35
* Failure: Any error code.
36
*/
37
RPC_STATUS
38
WINAPI
39
RpcGetAuthorizationContextForClient
(
RPC_BINDING_HANDLE
ClientBinding,
40
BOOL
ImpersonateOnReturn,
41
void
*
Reserved1
,
42
PLARGE_INTEGER
expiration_time,
43
LUID
Reserved2
,
44
DWORD
Reserved3
,
45
PVOID
Reserved4
,
46
PVOID
*authz_client_context)
47
{
48
FIXME
(
"(%p, %d, %p, %p, (%d, %u), %u, %p, %p): stub\n"
,
49
ClientBinding,
50
ImpersonateOnReturn,
51
Reserved1
,
52
expiration_time,
53
Reserved2
.HighPart,
54
Reserved2
.LowPart,
55
Reserved3
,
56
Reserved4
,
57
authz_client_context);
58
return
RPC_S_NO_CONTEXT_AVAILABLE
;
59
}
WINE_DEFAULT_DEBUG_CHANNEL
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition:
precomp.h:23
FIXME
#define FIXME(fmt,...)
Definition:
precomp.h:53
Reserved2
@ Reserved2
Definition:
bcd.h:202
Reserved1
@ Reserved1
Definition:
bcd.h:201
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
void
Definition:
nsiface.idl:2307
ndr_stubless.h
RpcGetAuthorizationContextForClient
RPC_STATUS WINAPI RpcGetAuthorizationContextForClient(RPC_BINDING_HANDLE ClientBinding, BOOL ImpersonateOnReturn, void *Reserved1, PLARGE_INTEGER expiration_time, LUID Reserved2, DWORD Reserved3, PVOID Reserved4, PVOID *authz_client_context)
Definition:
ros_extra.c:39
rpc_binding.h
rpc_message.h
rpcasync.h
rpcndr.h
Reserved3
@ Reserved3
Definition:
sacdrv.h:1471
Reserved4
@ Reserved4
Definition:
sacdrv.h:1472
RPC_STATUS
long RPC_STATUS
Definition:
rpc.h:48
debug.h
_LUID
Definition:
devicetopology.idl:137
_LARGE_INTEGER
Definition:
typedefs.h:103
WINAPI
#define WINAPI
Definition:
msvc.h:6
RPC_S_NO_CONTEXT_AVAILABLE
#define RPC_S_NO_CONTEXT_AVAILABLE
Definition:
winerror.h:1430
dll
win32
rpcrt4
ros_extra.c
Generated on Thu Dec 4 2025 06:05:08 for ReactOS by
1.9.6