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
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 */
40 BOOL ImpersonateOnReturn,
41 void * Reserved1,
42 PLARGE_INTEGER expiration_time,
46 PVOID *authz_client_context)
47{
48 FIXME("(%p, %d, %p, %p, (%d, %u), %u, %p, %p): stub\n",
49 ClientBinding,
50 ImpersonateOnReturn,
52 expiration_time,
53 Reserved2.HighPart,
54 Reserved2.LowPart,
57 authz_client_context);
59}
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
#define FIXME(fmt,...)
Definition: precomp.h:53
@ Reserved2
Definition: bcd.h:202
@ Reserved1
Definition: bcd.h:201
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
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
@ Reserved3
Definition: sacdrv.h:1471
@ Reserved4
Definition: sacdrv.h:1472
long RPC_STATUS
Definition: rpc.h:48
#define WINAPI
Definition: msvc.h:6
#define RPC_S_NO_CONTEXT_AVAILABLE
Definition: winerror.h:1430