Files
Timo Kreuzer 7f1075986f [RPCRT4] Sync to WineStaging 10.0-rc2
[WINESYNC] include: Use __has_declspec_attribute in basetsd.h.

wine commit id 8c4ccad0ab3206a0edbe1ed8a7f906d9c1efcd09 by Jacek Caban <[email protected]>

[WINESYNC] include: Add DECLSPEC_UUID/DECLSPEC_NOVTABLE to MIDL_INTERFACE.

wine commit id 5b87af399d5ca69a8740d068321b9723b1f8200c by Rémi Bernon <[email protected]>

[WINESYNC] include: Use winnt.h DECLSPEC_NOVTABLE definition in rpcndr.h.

wine commit id e14f129ac7169a5feca310101867e288ed8cd356 by Rémi Bernon <[email protected]>

[WINESYNC] include: Use winnt.h DECLSPEC_UUID definition in rpcndr.h.

wine commit id 6a9ce35e7bfb2cc8e91983eb44366f086934f571 by Rémi Bernon <[email protected]>

[WINESYNC] rpcrt4/tests: Allocate stub buffers with NdrOleAllocate.

This fixes crashes on Windows 7-10.

wine commit id e280366e146c58118bd8785c079881738ad55935 by Alex Henrie <[email protected]>

[WINESYNC] rpcrt4/tests: Test whether Ndr(Get|Free)Buffer calls StubMsg.pfn(Allocate|Free).

wine commit id 05453b10761486b7efe9dde41367be416ce6c28a by Alex Henrie <[email protected]>

[WINESYNC] rpcrt4/tests: Correct a comment in test_pointer_marshal.

NdrFree is an internal Wine function.

wine commit id 0ca04e1959ca89d99366d9d66a58fde6b8b20525 by Alex Henrie <[email protected]>

[WINESYNC] rpcrt4: Move call_server_func() to a separate file.

And build it as x86-64 code on ARM64EC.

wine commit id 6647987edc71209731399a1025a576cc80188169 by Alexandre Julliard <[email protected]>

WIP (move all to thunks-msvc.s) [WINESYNC] rpcrt4: Move call_server_func() to a separate file.

And build it as x86-64 code on ARM64EC.

wine commit id 6647987edc71209731399a1025a576cc80188169 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Move the stubless delegating thunks to a separate file.

And build them as x86-64 code on ARM64EC.

wine commit id fb8ae8ca35b5ce77cdbce5c60b900fafddcc35cb by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Move the stubless client thunks to a separate file.

And build them as x86-64 code on ARM64EC.

wine commit id d28f4fd0ecf5818d542dcd6fe5ca7d3d65f1b8f1 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Extend 8- and 16-bit parameters on ARM.

wine commit id 28cb539ef9b2ea4a262d3994a0a077c4b4a26296 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Generate the parameter extension data for typelibs on ARM platforms.

wine commit id 00756efcfbf07c80373b7a82fdcc6253e48e555e by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Fix stack alignment and by-value parameters for typelibs on ARM platforms.

wine commit id 486068560eb23a70061f4d383919a19d0f671e5e by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Stop passing the actual FPU regs pointer to client call functions.

wine commit id e4b7eeaad4b0d6c2b9a024d14fe10a25a28630d5 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Remap registers to the stack for stubless proxies on ARM platforms.

wine commit id 889767ce35ab1e26e5a910d670db37c143043f9a by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Move the FPU register conversion to the stubless proxy wrapper.

wine commit id d9067a8ae45190b1195efbae352a2015d8af48f3 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Add a wrapper for client calls from stubless proxies.

wine commit id a8ad671baed45325f6c6987f37e872767ed8f59f by Alexandre Julliard <[email protected]>

[WINESYNC] include: Update a couple of RPC structures.

wine commit id 522cecf67cd81496bc56a35fc60a799f3f8b79de by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Leave some space on the stack for varargs when called from ARM64EC code.

wine commit id 3c8fc4927d7253c06aeb7147da759a2f3d5ff171 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Support calling server functions with floating point arguments on ARM platforms.

wine commit id b684bd24d2544180813ca396bf4fe72beffd1183 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Implement Ndr64AsyncClientCall in assembly on all platforms.

wine commit id b2564ffcd928ff2da6cfea3bbaeffdb5f33e1118 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Implement NdrAsyncClientCall in assembly on all platforms.

wine commit id 8980dc0fd5d54492fe5ff14ed2e248367d839858 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Implement NdrClientCall3 in assembly on all platforms.

wine commit id 19548ad5124593daaa43ca351b5c9f02ee2e2bd2 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Implement NdrClientCall2 in assembly on all platforms.

wine commit id e994c8ef741ce28ac6971ea5ff6a131c483f0fd7 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Export NdrpClientCall2.

wine commit id 2fff2c6b4a5bde69f9438e11191a24fb5439d8b9 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4/tests: Add some more parameter passing tests.

wine commit id 4fc1591fc6f78e5e2bb8ecd9ad0f89ffee6a8084 by Alexandre Julliard <[email protected]>

[WINESYNC] widl: Add /robust flags in correlation descriptors.

wine commit id 4d8ee6bb18f42e125ffd51a28348687e55b56776 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Make sure that the stack is set when catching an exception.

Fixes a test crash in interpreted mode.

wine commit id 8bac669056d2e810e6969ad7339fdc572b0ce93b by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Return the correct failure for a NULL binding handle.

Fixes a test crash in interpreted mode.

wine commit id 2d801c46c76bbf6fa9fed9988222aa5cfb249b57 by Alexandre Julliard <[email protected]>

[WINESYNC] widl: Don't skip a pointer level for pointers to pointers to strings.

wine commit id 69849bd2ee7bd2f180f3a9199fccf2a2c76d9751 by Alexandre Julliard <[email protected]>

[WINESYNC] include: Annotate NdrGetBuffer with __WINE_(ALLOC_SIZE|MALLOC).

It would be nice to annotate it with __WINE_DEALLOC(NdrFreeBuffer) too,
but that causes a bunch of spurious -Wfree-nonheap-object warnings.

wine commit id e7364e2165924c393055cc3f9f910aa347556bd6 by Alex Henrie <[email protected]>

[WINESYNC] rpcrt4/tests: Fix some malloc/HeapAlloc mismatches.

Fixes regressions caused by a38e05636df9596ff3e41301c771fe93523808f1.

wine commit id 18bdd435f12714859794da49ba52806f37a120f2 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Force debug info in critical sections.

wine commit id 139d624787a2c629cf640a413c4faabfc2bf40b4 by Paul Gofman <[email protected]>

WIP reduce diff CONST_VTABLE

[WINESYNC] rpcrt4/tests: Use CRT allocation functions.

wine commit id a38e05636df9596ff3e41301c771fe93523808f1 by Alex Henrie <[email protected]>

[WINESYNC]: rpcrt4 is now in sync with wine-staging wine-9.0

[WINESYNC] rpcrt4/tests: Test explicit_handle.

wine commit id 6b6aff83221d38167488b48adf4f8e12e0039f07 by Haoyang Chen <[email protected]>

[WINESYNC] rpcrt4: Support for explicit handle passing.

If explicit_handle is defined in the idl file, c/s use explicit handles,
then an explicit handle must be passed in to the server-side  interface

wine commit id 9a4de1b727cf7b8226f23e056932f99c53246572 by Haoyang Chen <[email protected]>

[WINESYNC] include: Make strict prototypes the default.

wine commit id 240e4387e81e0b139138ee2631ac6822acddffbc by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Remove DECLSPEC_HIDDEN usage.

wine commit id 9b26ea16a3fc13118c4c4eaab6ea46d3828ea503 by Alistair Leslie-Hughes <[email protected]>

[WINESYNC] rpcrt4: Generate vtbl delegating thunks at compile time.

wine commit id 00fb82c315342b87be5aca97f63927acf85b4df8 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Generate stubless thunks at compile time.

wine commit id 439ce3a3aed17fcb41013e7e3e0271e36e5df321 by Alexandre Julliard <[email protected]>

[WINESYNC] include: Remove DECLSPEC_HIDDEN from GUID definitions.

wine commit id 19cc2439ede6562613d03d75305ddbbe03d11152 by Alexandre Julliard <[email protected]>

[WINESYNC] include: Remove DECLSPEC_HIDDEN from GUID definitions.

wine commit id 19cc2439ede6562613d03d75305ddbbe03d11152 by Alexandre Julliard <[email protected]>

[WINESYNC] include: Remove DECLSPEC_HIDDEN from RPC functions.

wine commit id 30ce97dd20ef3876eafa40a85994ddaba1194a9c by Alexandre Julliard <[email protected]>

[WINESYNC] include: Remove DECLSPEC_HIDDEN from winecrt0 functions.

wine commit id d597d04924a79e67e49d63ce5790fb1fe3e39d5e by Alexandre Julliard <[email protected]>

[WINESYNC] include: Annotate MIDL_user_allocate with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC).

wine commit id f27ac1bb777aa74c82d91203a06591299e6fef3d by Alex Henrie <[email protected]>

[WINESYNC] rpcrt4: Add SEH annotations to ARM64 assembly code.

wine commit id 3acb058a558ee687ca9c67175bf1490bddf34016 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4/tests: Use nameless unions/structs.

wine commit id a345f985c0ef46aac6e2a7a01b6950f39ba08a6a by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Use nameless union/structs.

wine commit id d8e35c51c9be00cf549044d2299d43edb98dbf3a by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Don't use GetProcAddress for ole32 functions.

It's more elegant to put ole32 in the DELAYIMPORTS.

wine commit id f0b0c7f4641d129e6b306534084e77cc4cfd1e94 by Alex Henrie <[email protected]>

[WINESYNC] rpcrt4: Replace RPCRT4_strndupA with strdup.

wine commit id 3fd8c85fd19ec7498f1151e0a504a637f462221f by Alex Henrie <[email protected]>

[WINESYNC] rpcrt4: Avoid casting an object to IUnknown.

Cast its interface member to IUnknown instead.

wine commit id 70a847248feb7008b994588574a4aff320af93c1 by Dmitry Timoshkov <[email protected]>

[WINESYNC] rpcrt4: Mark the buffer as invalid in NdrProxyFreeBuffer().

wine commit id 4ec4bdff7365193f71806f7fc0c31c0cbf724a57 by Dmitry Timoshkov <[email protected]>

[WINESYNC] rpcrt4/tests: Remove a failing test.

wine commit id fc6af061faf1dadeb4193a91a0d7145d10bbb54f by Huw Davies <[email protected]>

[WINESYNC] rpcrt4: Use CONTAINING_RECORD in release_delegating_vtbl().

wine commit id fe8f63ce729db45f5dd05699540b0e3778a8e17d by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Use a flexible array member in struct delegating_vtbl.

wine commit id 10bbf79d53ae4c668b1737655b5fbe299d4f9d0d by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Rename "ref_counted_vtbl" to "struct delegating_vtbl".

Get rid of the typedef, and give it a slightly more salient name (and one that
matches more of the surrounding code).

wine commit id e85afda3b5212a0398cb2dd105e232cfdbfc1329 by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Use a CONTAINING_RECORD helper to retrieve CInterfaceStubHeader from CStdStubBuffer.

wine commit id 4ad5de28419228868b734e29d915e450de83c1b2 by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Use a CONTAINING_RECORD helper to retrieve CStdStubBuffer from IRpcStubBuffer.

wine commit id 180edc5a4f31e1e2846c25fd9788dbda1648e659 by Zebediah Figura <[email protected]>

[WINESYNC]: rpcrt4 is now in sync with wine-staging wine-8.0

[WINESYNC] rpcrt4/tests: Avoid invalid free of static string.

wine commit id 3356ba6810513cd19e87b4d773458f1894e6d6f1 by Rémi Bernon <[email protected]>

[WINESYNC] rpcrt4: Fix GCC12.2 warnings.

GCC12.2 warns about dereferencing a pointer to RpcPktHdr
while it has been allocated to the size of one of the packet
(hence smaller in some cases).

/home/eric/work/wine/dlls/rpcrt4/rpc_message.c:111:26: warning: array subscript 'RpcPktHdr[0]' is partly outside array bounds of 'unsigned char[24]' [-Warray-bounds]
  111 |   Header->common.rpc_ver = RPC_VER_MAJOR;

This patch fixes the warnings by accessing the created object
through a pointer to their type (and not through the union).

Signed-off-by: Eric Pouech <[email protected]>

wine commit id 7ffcd6609f5e8524caff214147ec683a59ed473b by Eric Pouech <[email protected]>

[WINESYNC] rpcrt4: Pass a common header to RPCRT4_BuildCommonHeader.

Signed-off-by: Eric Pouech <[email protected]>

wine commit id 5d2547cef492e337830dffb1a96827ea0e95612c by Eric Pouech <[email protected]>

[WINESYNC] include: Use proper dllimports for rpcrt4 functions.

wine commit id 9fc9c91bf47948f2f35699fe2956955d609198d5 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Use standard C functions for memory allocation.

wine commit id 3bfc4493cb886d767e48b2677b07fef409a2db11 by Alex Henrie <[email protected]>

[WINESYNC] rpcrt4/tests: Don't use an array of pointers in test_conf_complex_struct.

An array of pointers isn't conformant on 64-bit and will overrun the
destination buffer when unmarshalling. Since the purpose of this
function is to test a conformant FC_BOGUS_STRUCT, use one that is
conformant on both 32-bit and 64-bit.

The revised test coincidentally reveals that there is a problem with the
padding or alignment after a marshalled 16-bit enum, which will need to
be addressed separately.

Co-authored-by: Zebediah Figura <[email protected]>

wine commit id e09c93de7bd4f27b41f572a4a79d9df190c63c6f by Alex Henrie <[email protected]>

[WINESYNC] rpcrt4: Fix unexpected exception in ndr_marshal tests.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52909
Signed-off-by: Eric Pouech <[email protected]>

wine commit id c5e23886b2290304c78101d7927898700974b84a by Eric Pouech <[email protected]>

[WINESYNC] rpcrt4/tests: Fix the spelling of a couple of comments.

wine commit id e7be6ae2f1d85c380098350cff3ed1c2fb25e5bc by Francois Gouget <[email protected]>

[WINESYNC] rpcrt4: Add a refcount owned by MIDL_STUB_MESSAGE.

In cases where this could have been use-after-free, exceptions were
caught/hidden by RpcTryFinally, but still lead to leaks since
NdrProxyFreeBuffer wasn't able to call IRPCChannelBuffer::FreeBuffer.

StdProxy_GetChannel() now AddRef() on its return value (used to set
__proxy_frame::_StubMsg::pRpcChannelBuffer), and NdrProxyFreeBuffer()
calls the corresponding Release() and clears the now-weak pointer.
This makes the behavior of these function match the observed test
results, and fixes the crash/leak when a proxy is released mid-Invoke.

wine commit id a7be4256f6081684e8fb0258564f9358eb36cfcf by Kevin Puetz <[email protected]>

[WINESYNC] rpcrt4/tests: Add tests for lifetime of IRpcChannelBuffer.

It's possible for a proxy to be released during the middle of an Invoke.
E.g. a specific case where this happened was a single-shot event sink
which, upon receiving the event it was waiting for, would immediately
call DispEventUnadvise. This removed the proxy pointing to that sink
from the connection point's list of subscribers and released the last
refcount on the proxy itself.

Therefore, all state used to complete an RPC call must be on the stack;
once NdrProxySendReceive pumps STA messages and permits reentrancy,
the proxy cannot be accessed or relied on to own anything.

Add test showing MIDL_STUB_MESSAGE::pRpcChannelBuffer owns a refcount
(to ensure it can read [out] parameters from the channel)

wine commit id 59f39b325d2d90c09c8b346ba241dab182084c7b by Kevin Puetz <[email protected]>

[WINESYNC] rpcrt4: Set the name of internal threads.

wine commit id 3f0166fa89616e409e0381415e23302479100d3a by Brendan Shanks <[email protected]>

[KERNEL32_VISTA] Import SetThreadDescription from wine-10.0

[WINESYNC] rpcrt4: Add SEH annotations to NdrClientCall2().

wine commit id bad509227aa534f152a17316bdcf221436f03284 by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Make NdrClientCall2() SEH-compatible.

wine commit id a5322fc94fa7333a09456a551d70eb1bf5a8fdbd by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Add SEH annotations to NdrClientCall3().

wine commit id 5d01faed777fadf6cb7882d8c8dc3bdfd26dd2e3 by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Make NdrClientCall3() SEH-compatible.

wine commit id abe75a5f22d82d0b35d67ae9d531d49a3d67d09f by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Add SEH annotations to Ndr64AsyncClientCall().

wine commit id 37ae068773677a35342a594448d1bbabf9feb94a by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Make Ndr64AsyncClientCall() SEH-compatible.

wine commit id 16713f52456d86c34eb5f0268468e044ada9d162 by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Implement I_RpcBindingInqLocalClientPID().

Signed-off-by: Zhiyi Zhang <[email protected]>

wine commit id a0301f7db6b58cb8aedd2bd0e862f89cbdb984c5 by Zhiyi Zhang <[email protected]>

[KERNEL32_VISTA] Import GetNamedPipeClientProcessId from wine 10.0

[WINESYNC] rpcrt4/tests: Add I_RpcBindingInqLocalClientPID() tests.

Signed-off-by: Zhiyi Zhang <[email protected]>

wine commit id 056dbb04dea4d0b990e0177f63475165f56ba8da by Zhiyi Zhang <[email protected]>

[WINESYNC] include: Add __WINE_DEALLOC attribute and use it for allocation functions.

Signed-off-by: Brendan Shanks <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id eb55f64d525e7e10c3ac178becd3ae7565560011 by Brendan Shanks <[email protected]>

[WINESYNC] include: Add __WINE_MALLOC attribute and use it for allocation functions.

Signed-off-by: Brendan Shanks <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id fd1b9afc1d4ce4f0401b15aa2a498e33ea74cc1c by Brendan Shanks <[email protected]>

[WINESYNC] rpcrt4: Don't cast ptrdiff_t to ULONG in traces, use %I instead.

Signed-off-by: Eric Pouech <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id ed5ade575b9035b610d1f1857c0ad5fcb1a33000 by Eric Pouech <[email protected]>

[WINESYNC] rpcrt4/tests: Enable compilation with long types.

Signed-off-by: Eric Pouech <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id c5a5143234b3fcbc3377f47cf77440c178d89517 by Eric Pouech <[email protected]>

[WINESYNC] rpcrt4: Enable compilation with long types.

Signed-off-by: Eric Pouech <[email protected]>
Signed-off-by: Huw Davies <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id b67a843c1a25b3dcce653b14d213b904f883c009 by Eric Pouech <[email protected]>

[SDK] Improve GUID hack

[WINESYNC] include/msvcrt: Add attribute((format)) to printf and scanf -like APIs.

Fix a bunch of warnings generated by this patch and the migration of
GUID.Data1 to long in ae2693e2c4079edcc719c08abed5ad58ba7aace7

Signed-off-by: Eric Pouech <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id bb1fc33570098543e2ec8b6b43fa155adfea2182 by Eric Pouech <[email protected]>

[WINESYNC] rpcrt4/tests: Avoid "misleading indentation" warnings.

Signed-off-by: Fabian Maurer <[email protected]>
Signed-off-by: Huw Davies <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 0d7f7bec9d1387f916b32895fcc6dd82733245a2 by Fabian Maurer <[email protected]>

[WINESYNC]: rpcrt4 is now in sync with wine-staging wine-7.0

[WINESYNC] rpcrt4: Fix TowerConstruct spec file entry.

Signed-off-by: André Zwing <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 70ec0c8ccf6e5ab271dd9ce99c6ef7b4beae041e by André Zwing <[email protected]>

[WINESYNC] rpcrt4/tests: Use the correct scanf format for a handle.

Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 8e0b337df1fe64b4a0d27e9cded611faff61c29d by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Use the standard va_list instead of __ms_va_list.

Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 348336b8cd6fe9f62bbf0886dbc70cbc59601afa by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4/tests: Always run tests that don't require special permissions.

Signed-off-by: Nikolay Sivov <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 54f9b3347612cbf368e28fd53bef298819082d64 by Nikolay Sivov <[email protected]>

[WINESYNC] winecrt0: Determine the registration module handle directly in __wine_register_resources().

Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 1331a8ea0fd4f19b80b3fd434c5e8b2a3b6e0fd4 by Alexandre Julliard <[email protected]>

[WINESYNC] winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().

Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 5d82baf9747b7b133cad3be77c0cc9e24cc09582 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Avoid gai_strerror().

It's not thread-safe.

Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id be101103dbee37d0b382032c2a8bc1d53f333a65 by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Make inline asm compatible with Thumb-2.

Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 621c06a082a5507885f2c98815f411718415a53b by Alexandre Julliard <[email protected]>

[WINESYNC]: rpcrt4 is now in sync with wine-staging wine-6.0

[WINESYNC] winapi: Use __alignof__ on clang.

Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id fcf545f449e286118c0d1b8ee8d620a81aa22114 by Jacek Caban <[email protected]>

[WINESYNC] rpcrt4/tests: Avoid a printf format warning.

Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id b61cfa88235d77cee4878837afd9f65d025e4a3f by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Use wide-char string literals.

Signed-off-by: Michael Stefaniuc <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id d452c7574ffc9fef983980f09fd57c5ad04910a3 by Michael Stefaniuc <[email protected]>

[WINESYNC] rpcrt4: Fix ARM64 stack corruption in call_server_func.

calls with stack_size > 16 pop argument values into x3, overwriting
the number of 16-byte stack octwords. This breaks the checks for popping
x4..x7 and potentially unbalances sp (based on the vaue of args[16..23]).

Use a scratch register (x9) for this count so its lifetime does not
conflict with preparing the parameter/result registers.

Signed-off-by: Kevin Puetz <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id e4e7be6bd9e8a70329f5ceb4f6d66f50e3170ae2 by Kevin Puetz <[email protected]>

[WINESYNC] winapi_test: Update generated.c files.

Signed-off-by: Serge Gautherie <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 743ed29af51f2dfa3afbe97e94b95fe71cea0de5 by Serge Gautherie <[email protected]>

[WINESYNC] winapi_test: Restore horizontal alignment of macro defines.

Signed-off-by: Serge Gautherie <[email protected]>
Signed-off-by: Francois Gouget <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 99c0ab2ea1f912ee699e307a77f26822dfef7b06 by Serge Gautherie <[email protected]>

[WINESYNC] winapi_test: Remove MIDL_STUB_MESSAGE field exclusions.

Signed-off-by: Serge Gautherie <[email protected]>
Signed-off-by: Francois Gouget <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 151af8c04249bdd90e095c456e45ef416fcbfe97 by Serge Gautherie <[email protected]>

[WINESYNC] rpcrt4/tests: Add some tests for marshalling embedded conformant arrays.

Signed-off-by: Dmitry Timoshkov <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 59c0dbb642e788a8d28c2b653545566db6346cdb by Dmitry Timoshkov <[email protected]>

[WINESYNC] rpcrt4/tests: Fix compilation with MS VC.

Signed-off-by: Dmitry Timoshkov <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id bd995ea87100a167b021c142d63d569b336be00e by Dmitry Timoshkov <[email protected]>

[WINESYNC] rpcrt4: Implement RpcIfInqId().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49257
Signed-off-by: Zhiyi Zhang <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id d3a934be367e6b7bf7ba2ad127279fa8fc930fc4 by Zhiyi Zhang <[email protected]>

[WINESYNC] rpcndr.h: Avoid error_status_t redefinition.

Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 4444d19ee37cfc20504dae2ea807458367410544 by Jacek Caban <[email protected]>

[WINESYNC] include: Get rid of Mac support in RPC headers.

Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 7bafeef595a50d1d90dfb42371144c4f285ac5c4 by Alexandre Julliard <[email protected]>

[WINESYNC] rpcrt4: Remove inexistent CreateServerInterfaceFromStub().

Signed-off-by: Serge Gautherie <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 98eaef3ad945eae570f92184725115613f6a3951 by Serge Gautherie <[email protected]>

[WINESYNC] rpcrt4: Don't use GetExceptionCode outside __except block.

Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 7b0830c98d1af50e4a6199f83c3c412aaedccb33 by Jacek Caban <[email protected]>

[WINESYNC] rpcrt4: Bump the maximum accepted NDR version.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45699
Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 352a64cbbcee46eae0bca6184a8dd5db2d1da5fc by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Implement Ndr64AsyncClientCall().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45699
Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 36c5adca377dada3e86a765e4ba5b2fdb000eb19 by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Implement NdrClientCall3().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45699
Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 9369aea260e144f12d95c6b6386f095a58a031db by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Handle FC_NON_ENCAPSULATED_UNION in calc_arg_size().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45699
Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id ff7f92c0b076d7801274f2423dd44ddd10f895b1 by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Fix use after free in get_iface_info.

Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id bfab009e67338d3f6b0142c55ec3383a5147f6a3 by Jacek Caban <[email protected]>

[WINESYNC] rpcrt4: Handle bare coclasses as top-level parameters.

Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 15e91ac2ce2d5d5f1a86a300552f921df838e792 by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Handle bare interfaces as top-level parameters.

Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id f4ee83c0ebf7d84ac46c9eac7f9c2eed07a32b3b by Zebediah Figura <[email protected]>

[WINESYNC] tests: Report all errors when failing to wait for a child process.

Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id a909baeb4e5ee8050a32832c28ff3ee79c54fbfa by Francois Gouget <[email protected]>

[WINESYNC] rpcrt4/tests: Remove now useless forced 0x0500 API versions.

Signed-off-by: Serge Gautherie <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 57f08ba5259e56ae681bab1e61f86d6e8ab96f37 by Serge Gautherie <[email protected]>

[WINESYNC] tools: Remove 0x0501 API versions forced by winapi_test.

Signed-off-by: Serge Gautherie <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id aa384d36429110970aa72acbc5043158de6aff03 by Serge Gautherie <[email protected]>

[WINESYNC] winecrt0: Make __wine_(un)register_resources() cdecl.

This fixes a bug where 64-bit winegstreamer.dll would fail to (un)register
CLSID_VideoProcessorMFT when run manually with regsvr32.

Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 5c414922b4ae04a34a90afebaf5177682b6826aa by Elizabeth Figura <[email protected]>

[WINESYNC] guiddef.h: Remove GUID_NULL declaration.

It's declared in cguid.h with proper extern "C".

Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id c041605b0074e6b12e5ea1df0cc645e772a220a7 by Jacek Caban <[email protected]>

[WINESYNC] rpcrt4: Use MustFree for all non-base types in get_param_pointer_info.

Fixes a leak for VT_VARIANT.

Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 1980fcafe111c5e6958bc01b121cfbd0a42a5abd by Jacek Caban <[email protected]>

[WINESYNC] rpcrt4: Use a critical section for the context handle lock.

Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 76238898fc4ef41b6eb57c5e2589a7579ee6e3c6 by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Fix ITypeInfo leak in get_iface_info.

Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id a09c08f17a1ace1205e4c579c4f08b548258d539 by Kevin Puetz <[email protected]>

[WINESYNC]: rpcrt4 is now in sync with wine-staging wine-5.0

[WINESYNC] rpcrt4/tests: Pass the default maximum call limit to RpcServerListen().

The tests intermittently crash on 2008 with RPC_S_SERVER_TOO_BUSY.  I suspect
this is due to the server spawned in run_server having a call limit of 20 but
being expected to service 32 threads.  Use the default parameter in an attempt
to prevent this failure.

Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id c2b4d98f23f5007ad7da2083afd78ec411155a5f by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Support VT_BSTR in get_param_pointer_info.

Fixes a leak in typelib marshaller.
Based on patch by Kevin Puetz.

Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id f64832fe6a4bb330d42f44b51cd5addb1f521291 by Jacek Caban <[email protected]>

[WINESYNC] rpcrt4: Fix implicit in attribute handling in write_param_fs.

Fixes regression caused by typelib marshaling rewrite.
Spotted by Kevin Puetz.

Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 1aaf870039dfb8419ae060d8c67240df1366b953 by Jacek Caban <[email protected]>

[WINESYNC] rpcrt4: Fix ITypeInfo ref count handling.

Signed-off-by: Zebediah Figura <[email protected]>
Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 53efccdb6589b2fbe8370d2216d1652bf53b984b by Zebediah Figura <[email protected]>

[WINESYNC] rpcrt4: Fix RpcNetworkIsProtseqValid[AW] spec file entries.

Signed-off-by: André Hentschel <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 6127c688eaa68b6adcc06f44bf41cb6f0c608d77 by André Hentschel <[email protected]>

[WINESYNC] rpcrt4/tests: Increase some timeouts.

These are too short when running under QEMU.

Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 822e2773d45544e3972c3d0e9dd60a6598d7a84f by Alexandre Julliard <[email protected]>

Add rpcrt4.cfg

[PSDK] Sync some rpc headers with wine-4.0

[RPCRT4] rpcrt4.spec: Add RpcExceptionFilter export

[RPCRT4] Reduce diff to wine-4.18

[RPCRT4] rpcrt4.spec: ordinals -> @

+rpcsal.h

WIP sync rpcndr.h with Wine

Update ndr_typelib.c
2025-11-14 13:15:16 +02:00

636 lines
23 KiB
C

/*
* Copyright (C) 2000 Francois Gouget
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_RPCDCE_H
#define __WINE_RPCDCE_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef IN
#define IN
#endif
#ifndef OUT
#define OUT
#endif
#ifndef OPTIONAL
#define OPTIONAL
#endif
#ifndef GUID_DEFINED
#include <guiddef.h>
#endif
#ifndef UUID_DEFINED
#define UUID_DEFINED
typedef GUID UUID;
#endif
typedef unsigned char* RPC_CSTR;
typedef unsigned short* RPC_WSTR;
typedef void* RPC_AUTH_IDENTITY_HANDLE;
typedef void* RPC_AUTHZ_HANDLE;
typedef void* RPC_IF_HANDLE;
typedef I_RPC_HANDLE RPC_BINDING_HANDLE;
typedef RPC_BINDING_HANDLE handle_t;
#define rpc_binding_handle_t RPC_BINDING_HANDLE
#define RPC_MGR_EPV void
typedef struct _RPC_BINDING_VECTOR
{
ULONG Count;
RPC_BINDING_HANDLE BindingH[1];
} RPC_BINDING_VECTOR;
#define rpc_binding_vector_t RPC_BINDING_VECTOR
typedef struct _UUID_VECTOR
{
ULONG Count;
UUID *Uuid[1];
} UUID_VECTOR;
#define uuid_vector_t UUID_VECTOR
typedef struct _RPC_IF_ID
{
UUID Uuid;
unsigned short VersMajor;
unsigned short VersMinor;
} RPC_IF_ID;
typedef struct
{
ULONG Count;
RPC_IF_ID *IfId[1];
} RPC_IF_ID_VECTOR;
typedef struct
{
unsigned int Count;
ULONG Stats[1];
} RPC_STATS_VECTOR;
typedef struct _RPC_PROTSEQ_VECTORA
{
unsigned int Count;
unsigned char *Protseq[1];
} RPC_PROTSEQ_VECTORA;
typedef struct _RPC_PROTSEQ_VECTORW
{
unsigned int Count;
unsigned short *Protseq[1];
} RPC_PROTSEQ_VECTORW;
DECL_WINELIB_TYPE_AW(RPC_PROTSEQ_VECTOR)
typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE;
#define RPC_C_EP_ALL_ELTS 0
#define RPC_C_EP_MATCH_BY_IF 1
#define RPC_C_EP_MATCH_BY_OBJ 2
#define RPC_C_EP_MATCH_BY_BOTH 3
#define RPC_C_VERS_ALL 1
#define RPC_C_VERS_COMPATIBLE 2
#define RPC_C_VERS_EXACT 3
#define RPC_C_VERS_MAJOR_ONLY 4
#define RPC_C_VERS_UPTO 5
#define RPC_C_BINDING_INFINITE_TIMEOUT 10
#define RPC_C_BINDING_MIN_TIMEOUT 0
#define RPC_C_BINDING_DEFAULT_TIMEOUT 5
#define RPC_C_BINDING_MAX_TIMEOUT 9
#define RPC_C_CANCEL_INFINITE_TIMEOUT -1
#define RPC_C_LISTEN_MAX_CALLS_DEFAULT 1234
#define RPC_C_PROTSEQ_MAX_REQS_DEFAULT 10
#define RPC_PROTSEQ_TCP 0x1
#define RPC_PROTSEQ_NMP 0x2
#define RPC_PROTSEQ_LRPC 0x3
#define RPC_PROTSEQ_HTTP 0x4
/* RPC_POLICY EndpointFlags */
#define RPC_C_BIND_TO_ALL_NICS 0x1
#define RPC_C_USE_INTERNET_PORT 0x1
#define RPC_C_USE_INTRANET_PORT 0x2
#define RPC_C_DONT_FAIL 0x4
/* RPC_POLICY EndpointFlags specific to the Falcon/RPC transport */
#define RPC_C_MQ_TEMPORARY 0x0000
#define RPC_C_MQ_PERMANENT 0x0001
#define RPC_C_MQ_CLEAR_ON_OPEN 0x0002
#define RPC_C_MQ_USE_EXISTING_SECURITY 0x0004
#define RPC_C_MQ_AUTHN_LEVEL_NONE 0x0000
#define RPC_C_MQ_AUTHN_LEVEL_PKT_INTEGRITY 0x0008
#define RPC_C_MQ_AUTHN_LEVEL_PKT_PRIVACY 0x0010
#define RPC_C_AUTHN_LEVEL_DEFAULT 0
#define RPC_C_AUTHN_LEVEL_NONE 1
#define RPC_C_AUTHN_LEVEL_CONNECT 2
#define RPC_C_AUTHN_LEVEL_CALL 3
#define RPC_C_AUTHN_LEVEL_PKT 4
#define RPC_C_AUTHN_LEVEL_PKT_INTEGRITY 5
#define RPC_C_AUTHN_LEVEL_PKT_PRIVACY 6
#define RPC_C_AUTHN_NONE 0
#define RPC_C_AUTHN_DCE_PRIVATE 1
#define RPC_C_AUTHN_DCE_PUBLIC 2
#define RPC_C_AUTHN_DEC_PUBLIC 4
#define RPC_C_AUTHN_GSS_NEGOTIATE 9
#define RPC_C_AUTHN_WINNT 10
#define RPC_C_AUTHN_GSS_SCHANNEL 14
#define RPC_C_AUTHN_GSS_KERBEROS 16
#define RPC_C_AUTHN_DPA 17
#define RPC_C_AUTHN_MSN 18
#define RPC_C_AUTHN_DIGEST 21
#define RPC_C_AUTHN_MQ 100
#define RPC_C_AUTHN_DEFAULT 0xffffffff
#define RPC_C_AUTHZ_NONE 0
#define RPC_C_AUTHZ_NAME 1
#define RPC_C_AUTHZ_DCE 2
#define RPC_C_AUTHZ_DEFAULT 0xffffffff
/* values for RPC_SECURITY_QOS*::ImpersonationType */
#define RPC_C_IMP_LEVEL_DEFAULT 0
#define RPC_C_IMP_LEVEL_ANONYMOUS 1
#define RPC_C_IMP_LEVEL_IDENTIFY 2
#define RPC_C_IMP_LEVEL_IMPERSONATE 3
#define RPC_C_IMP_LEVEL_DELEGATE 4
/* values for RPC_SECURITY_QOS*::IdentityTracking */
#define RPC_C_QOS_IDENTITY_STATIC 0
#define RPC_C_QOS_IDENTITY_DYNAMIC 1
/* flags for RPC_SECURITY_QOS*::Capabilities */
#define RPC_C_QOS_CAPABILITIES_DEFAULT 0x0
#define RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH 0x1
#define RPC_C_QOS_CAPABILITIES_MAKE_FULLSIC 0x2
#define RPC_C_QOS_CAPABILITIES_ANY_AUTHORITY 0x4
/* values for RPC_SECURITY_QOS*::Version */
#define RPC_C_SECURITY_QOS_VERSION 1
#define RPC_C_SECURITY_QOS_VERSION_1 1
#define RPC_C_SECURITY_QOS_VERSION_2 2
/* flags for RPC_SECURITY_QOS_V2::AdditionalSecurityInfoType */
#define RPC_C_AUTHN_INFO_TYPE_HTTP 1
/* flags for RPC_HTTP_TRANSPORT_CREDENTIALS::Flags */
#define RPC_C_HTTP_FLAG_USE_SSL 0x1
#define RPC_C_HTTP_FLAG_USE_FIRST_AUTH_SCHEME 0x2
/* values for RPC_HTTP_TRANSPORT_CREDENTIALS::AuthenticationTarget */
#define RPC_C_HTTP_AUTHN_TARGET_SERVER 1
#define RPC_C_HTTP_AUTHN_TARGET_PROXY 2
#define RPC_C_HTTP_AUTHN_SCHEME_BASIC 0x01
#define RPC_C_HTTP_AUTHN_SCHEME_NTLM 0x02
#define RPC_C_HTTP_AUTHN_SCHEME_PASSPORT 0x04
#define RPC_C_HTTP_AUTHN_SCHEME_DIGEST 0x08
#define RPC_C_HTTP_AUTHN_SCHEME_NEGOTIATE 0x10
typedef RPC_STATUS RPC_ENTRY RPC_IF_CALLBACK_FN( RPC_IF_HANDLE InterfaceUuid, void *Context );
typedef void (__RPC_USER *RPC_AUTH_KEY_RETRIEVAL_FN)(void *, RPC_WSTR, ULONG, void **, RPC_STATUS *);
typedef struct _RPC_POLICY
{
unsigned int Length;
ULONG EndpointFlags;
ULONG NICFlags;
} RPC_POLICY, *PRPC_POLICY;
typedef struct _SEC_WINNT_AUTH_IDENTITY_W
{
unsigned short* User;
ULONG UserLength;
unsigned short* Domain;
ULONG DomainLength;
unsigned short* Password;
ULONG PasswordLength;
ULONG Flags;
} SEC_WINNT_AUTH_IDENTITY_W, *PSEC_WINNT_AUTH_IDENTITY_W;
typedef struct _SEC_WINNT_AUTH_IDENTITY_A
{
unsigned char* User;
ULONG UserLength;
unsigned char* Domain;
ULONG DomainLength;
unsigned char* Password;
ULONG PasswordLength;
ULONG Flags;
} SEC_WINNT_AUTH_IDENTITY_A, *PSEC_WINNT_AUTH_IDENTITY_A;
typedef struct _RPC_HTTP_TRANSPORT_CREDENTIALS_W
{
SEC_WINNT_AUTH_IDENTITY_W *TransportCredentials;
ULONG Flags;
ULONG AuthenticationTarget;
ULONG NumberOfAuthnSchemes;
ULONG *AuthnSchemes;
unsigned short *ServerCertificateSubject;
} RPC_HTTP_TRANSPORT_CREDENTIALS_W, *PRPC_HTTP_TRANSPORT_CREDENTIALS_W;
typedef struct _RPC_HTTP_TRANSPORT_CREDENTIALS_A
{
SEC_WINNT_AUTH_IDENTITY_A *TransportCredentials;
ULONG Flags;
ULONG AuthenticationTarget;
ULONG NumberOfAuthnSchemes;
ULONG *AuthnSchemes;
unsigned char *ServerCertificateSubject;
} RPC_HTTP_TRANSPORT_CREDENTIALS_A, *PRPC_HTTP_TRANSPORT_CREDENTIALS_A;
typedef struct _RPC_SECURITY_QOS {
ULONG Version;
ULONG Capabilities;
ULONG IdentityTracking;
ULONG ImpersonationType;
} RPC_SECURITY_QOS, *PRPC_SECURITY_QOS;
typedef struct _RPC_SECURITY_QOS_V2_W
{
ULONG Version;
ULONG Capabilities;
ULONG IdentityTracking;
ULONG ImpersonationType;
ULONG AdditionalSecurityInfoType;
union
{
RPC_HTTP_TRANSPORT_CREDENTIALS_W *HttpCredentials;
} u;
} RPC_SECURITY_QOS_V2_W, *PRPC_SECURITY_QOS_V2_W;
typedef struct _RPC_SECURITY_QOS_V2_A
{
ULONG Version;
ULONG Capabilities;
ULONG IdentityTracking;
ULONG ImpersonationType;
ULONG AdditionalSecurityInfoType;
union
{
RPC_HTTP_TRANSPORT_CREDENTIALS_A *HttpCredentials;
} u;
} RPC_SECURITY_QOS_V2_A, *PRPC_SECURITY_QOS_V2_A;
#define _SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(_SEC_WINNT_AUTH_IDENTITY_)
#define SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(SEC_WINNT_AUTH_IDENTITY_)
#define PSEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(PSEC_WINNT_AUTH_IDENTITY_)
#define RPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(RPC_HTTP_TRANSPORT_CREDENTIALS_)
#define PRPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(PRPC_HTTP_TRANSPORT_CREDENTIALS_)
#define _RPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(_RPC_HTTP_TRANSPORT_CREDENTIALS_)
#define RPC_SECURITY_QOS_V2 WINELIB_NAME_AW(RPC_SECURITY_QOS_V2_)
#define PRPC_SECURITY_QOS_V2 WINELIB_NAME_AW(PRPC_SECURITY_QOS_V2_)
#define _RPC_SECURITY_QOS_V2 WINELIB_NAME_AW(_RPC_SECURITY_QOS_V2_)
/* SEC_WINNT_AUTH Flags */
#define SEC_WINNT_AUTH_IDENTITY_ANSI 0x1
#define SEC_WINNT_AUTH_IDENTITY_UNICODE 0x2
/* RpcServerRegisterIfEx Flags */
#define RPC_IF_AUTOLISTEN 0x01
#define RPC_IF_OLE 0x02
#define RPC_IF_ALLOW_UNKNOWN_AUTHORITY 0x04
#define RPC_IF_ALLOW_SECURE_ONLY 0x08
#define RPC_IF_ALLOW_CALLBACKS_WITH_NO_AUTH 0x10
#define RPC_IF_ALLOW_LOCAL_ONLY 0x20
#define RPC_IF_SEC_NO_CACHE 0x40
RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS e, RPC_CSTR buffer);
RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS e, RPC_WSTR buffer);
#define DceErrorInqText WINELIB_NAME_AW(DceErrorInqText)
RPCRTAPI DECLSPEC_NORETURN void RPC_ENTRY
RpcRaiseException( RPC_STATUS exception );
RPCRTAPI int RPC_ENTRY RpcExceptionFilter(ULONG);
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingCopy( RPC_BINDING_HANDLE SourceBinding, RPC_BINDING_HANDLE* DestinationBinding );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingFree( RPC_BINDING_HANDLE* Binding );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqObject( RPC_BINDING_HANDLE Binding, UUID* ObjectUuid );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqOption( RPC_BINDING_HANDLE Binding, ULONG Option, ULONG_PTR *OptionValue );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingReset( RPC_BINDING_HANDLE Binding );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingServerFromClient( RPC_BINDING_HANDLE ClientBinding, RPC_BINDING_HANDLE* ServerBinding );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingSetObject( RPC_BINDING_HANDLE Binding, UUID* ObjectUuid );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingSetOption( RPC_BINDING_HANDLE Binding, ULONG Option, ULONG_PTR OptionValue );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcObjectSetType( UUID* ObjUuid, UUID* TypeUuid );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingFromStringBindingA( RPC_CSTR StringBinding, RPC_BINDING_HANDLE* Binding );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingFromStringBindingW( RPC_WSTR StringBinding, RPC_BINDING_HANDLE* Binding );
#define RpcBindingFromStringBinding WINELIB_NAME_AW(RpcBindingFromStringBinding)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingToStringBindingA( RPC_BINDING_HANDLE Binding, RPC_CSTR *StringBinding );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingToStringBindingW( RPC_BINDING_HANDLE Binding, RPC_WSTR *StringBinding );
#define RpcBindingToStringBinding WINELIB_NAME_AW(RpcBindingToStringBinding)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingVectorFree( RPC_BINDING_VECTOR** BindingVector );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcStringBindingComposeA( RPC_CSTR ObjUuid, RPC_CSTR Protseq, RPC_CSTR NetworkAddr,
RPC_CSTR Endpoint, RPC_CSTR Options, RPC_CSTR *StringBinding );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcStringBindingComposeW( RPC_WSTR ObjUuid, RPC_WSTR Protseq, RPC_WSTR NetworkAddr,
RPC_WSTR Endpoint, RPC_WSTR Options, RPC_WSTR *StringBinding );
#define RpcStringBindingCompose WINELIB_NAME_AW(RpcStringBindingCompose)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcStringBindingParseA( RPC_CSTR StringBinding, RPC_CSTR *ObjUuid, RPC_CSTR *Protseq,
RPC_CSTR *NetworkAddr, RPC_CSTR *Endpoint, RPC_CSTR *NetworkOptions );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcStringBindingParseW( RPC_WSTR StringBinding, RPC_WSTR *ObjUuid, RPC_WSTR *Protseq,
RPC_WSTR *NetworkAddr, RPC_WSTR *Endpoint, RPC_WSTR *NetworkOptions );
#define RpcStringBindingParse WINELIB_NAME_AW(RpcStringBindingParse)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcEpResolveBinding( RPC_BINDING_HANDLE Binding, RPC_IF_HANDLE IfSpec );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcEpRegisterA( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector,
UUID_VECTOR* UuidVector, RPC_CSTR Annotation );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcEpRegisterW( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector,
UUID_VECTOR* UuidVector, RPC_WSTR Annotation );
#define RpcEpRegister WINELIB_NAME_AW(RpcEpRegister)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcEpRegisterNoReplaceA( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector,
UUID_VECTOR* UuidVector, RPC_CSTR Annotation );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcEpRegisterNoReplaceW( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector,
UUID_VECTOR* UuidVector, RPC_WSTR Annotation );
#define RpcEpRegisterNoReplace WINELIB_NAME_AW(RpcEpRegisterNoReplace)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcEpUnregister( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector,
UUID_VECTOR* UuidVector );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerInqBindings( RPC_BINDING_VECTOR** BindingVector );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerListen( unsigned int MinimumCallThreads, unsigned int MaxCalls, unsigned int DontWait );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtEnableIdleCleanup( void );
typedef int (__RPC_API *RPC_MGMT_AUTHORIZATION_FN)( RPC_BINDING_HANDLE, ULONG, RPC_STATUS * );
RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetAuthorizationFn( RPC_MGMT_AUTHORIZATION_FN );
RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetCancelTimeout(LONG);
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtWaitServerListen( void );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtInqStats( RPC_BINDING_HANDLE Binding, RPC_STATS_VECTOR **Statistics );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtStopServerListening( RPC_BINDING_HANDLE Binding );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtIsServerListening(RPC_BINDING_HANDLE Binding);
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtInqIfIds( RPC_BINDING_HANDLE Binding, RPC_IF_ID_VECTOR** IfIdVector );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtEpEltInqBegin( RPC_BINDING_HANDLE EpBinding, ULONG InquiryType, RPC_IF_ID *IfId,
ULONG VersOption, UUID *ObjectUuid, RPC_EP_INQ_HANDLE *InquiryContext);
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtSetComTimeout( RPC_BINDING_HANDLE Binding, unsigned int Timeout );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtSetServerStackSize( ULONG ThreadStackSize );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcMgmtStatsVectorFree( RPC_STATS_VECTOR **StatsVector );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerRegisterIf( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerRegisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv,
unsigned int Flags, unsigned int MaxCalls, RPC_IF_CALLBACK_FN* IfCallbackFn );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerRegisterIf2( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv,
unsigned int Flags, unsigned int MaxCalls, unsigned int MaxRpcSize, RPC_IF_CALLBACK_FN* IfCallbackFn );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerRegisterIf3( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv,
unsigned int Flags, unsigned int MaxCalls, unsigned int MaxRpcSize,
RPC_IF_CALLBACK_FN* IfCallbackFn, void* SecurityDescriptor );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerUnregisterIf( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, unsigned int WaitForCallsToComplete );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerUnregisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, int RundownContextHandles );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerUseProtseqA(RPC_CSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor);
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerUseProtseqW(RPC_WSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor);
#define RpcServerUseProtseq WINELIB_NAME_AW(RpcServerUseProtseq)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEpA( RPC_CSTR Protseq, unsigned int MaxCalls, RPC_CSTR Endpoint, void *SecurityDescriptor );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEpW( RPC_WSTR Protseq, unsigned int MaxCalls, RPC_WSTR Endpoint, void *SecurityDescriptor );
#define RpcServerUseProtseqEp WINELIB_NAME_AW(RpcServerUseProtseqEp)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEpExA( RPC_CSTR Protseq, unsigned int MaxCalls, RPC_CSTR Endpoint, void *SecurityDescriptor,
PRPC_POLICY Policy );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEpExW( RPC_WSTR Protseq, unsigned int MaxCalls, RPC_WSTR Endpoint, void *SecurityDescriptor,
PRPC_POLICY Policy );
#define RpcServerUseProtseqEpEx WINELIB_NAME_AW(RpcServerUseProtseqEpEx)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerRegisterAuthInfoA( RPC_CSTR ServerPrincName, ULONG AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn,
void *Arg );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerRegisterAuthInfoW( RPC_WSTR ServerPrincName, ULONG AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn,
void *Arg );
#define RpcServerRegisterAuthInfo WINELIB_NAME_AW(RpcServerRegisterAuthInfo)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingSetAuthInfoExA( RPC_BINDING_HANDLE Binding, RPC_CSTR ServerPrincName, ULONG AuthnLevel,
ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr,
RPC_SECURITY_QOS *SecurityQos );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingSetAuthInfoExW( RPC_BINDING_HANDLE Binding, RPC_WSTR ServerPrincName, ULONG AuthnLevel,
ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr,
RPC_SECURITY_QOS *SecurityQos );
#define RpcBindingSetAuthInfoEx WINELIB_NAME_AW(RpcBindingSetAuthInfoEx)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingSetAuthInfoA( RPC_BINDING_HANDLE Binding, RPC_CSTR ServerPrincName, ULONG AuthnLevel,
ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingSetAuthInfoW( RPC_BINDING_HANDLE Binding, RPC_WSTR ServerPrincName, ULONG AuthnLevel,
ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr );
#define RpcBindingSetAuthInfo WINELIB_NAME_AW(RpcBindingSetAuthInfo)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthInfoExA( RPC_BINDING_HANDLE Binding, RPC_CSTR * ServerPrincName, ULONG *AuthnLevel,
ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc,
ULONG RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthInfoExW( RPC_BINDING_HANDLE Binding, RPC_WSTR *ServerPrincName, ULONG *AuthnLevel,
ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc,
ULONG RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS );
#define RpcBindingInqAuthInfoEx WINELIB_NAME_AW(RpcBindingInqAuthInfoEx)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthInfoA( RPC_BINDING_HANDLE Binding, RPC_CSTR * ServerPrincName, ULONG *AuthnLevel,
ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthInfoW( RPC_BINDING_HANDLE Binding, RPC_WSTR *ServerPrincName, ULONG *AuthnLevel,
ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc );
#define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClientA( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
RPC_CSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
ULONG *AuthzSvc );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClientW( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
RPC_WSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
ULONG *AuthzSvc );
#define RpcBindingInqAuthClient WINELIB_NAME_AW(RpcBindingInqAuthClient)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClientExA( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
RPC_CSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
ULONG *AuthzSvc, ULONG Flags );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClientExW( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
RPC_WSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
ULONG *AuthzSvc, ULONG Flags );
#define RpcBindingInqAuthClientEx WINELIB_NAME_AW(RpcBindingInqAuthClientEx)
RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThread(void*);
RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThreadEx(void*,LONG);
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcImpersonateClient( RPC_BINDING_HANDLE Binding );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcNetworkIsProtseqValidA( RPC_CSTR protseq );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcNetworkIsProtseqValidW( RPC_WSTR protseq );
#define RpcNetworkIsProtseqValid WINELIB_NAME_AW(RpcNetworkIsProtseqValid)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcNetworkInqProtseqsA( RPC_PROTSEQ_VECTORA** protseqs );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcNetworkInqProtseqsW( RPC_PROTSEQ_VECTORW** protseqs );
#define RpcNetworkInqProtseqs WINELIB_NAME_AW(RpcNetworkInqProtseqs)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcProtseqVectorFreeA( RPC_PROTSEQ_VECTORA** protseqs );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcProtseqVectorFreeW( RPC_PROTSEQ_VECTORW** protseqs );
#define RpcProtseqVectorFree WINELIB_NAME_AW(RpcProtseqVectorFree)
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcRevertToSelf( void );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcRevertToSelfEx( RPC_BINDING_HANDLE Binding );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcStringFreeA(RPC_CSTR* String);
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcStringFreeW(RPC_WSTR* String);
#define RpcStringFree WINELIB_NAME_AW(RpcStringFree)
RPCRTAPI RPC_STATUS RPC_ENTRY
UuidToStringA( UUID* Uuid, RPC_CSTR* StringUuid );
RPCRTAPI RPC_STATUS RPC_ENTRY
UuidToStringW( UUID* Uuid, RPC_WSTR* StringUuid );
#define UuidToString WINELIB_NAME_AW(UuidToString)
RPCRTAPI RPC_STATUS RPC_ENTRY
UuidFromStringA( RPC_CSTR StringUuid, UUID* Uuid );
RPCRTAPI RPC_STATUS RPC_ENTRY
UuidFromStringW( RPC_WSTR StringUuid, UUID* Uuid );
#define UuidFromString WINELIB_NAME_AW(UuidFromString)
RPCRTAPI RPC_STATUS RPC_ENTRY
UuidCreate( UUID* Uuid );
RPCRTAPI RPC_STATUS RPC_ENTRY
UuidCreateSequential( UUID* Uuid );
RPCRTAPI RPC_STATUS RPC_ENTRY
UuidCreateNil( UUID* Uuid );
RPCRTAPI signed int RPC_ENTRY
UuidCompare( UUID* Uuid1, UUID* Uuid2, RPC_STATUS* Status_ );
RPCRTAPI int RPC_ENTRY
UuidEqual( UUID* Uuid1, UUID* Uuid2, RPC_STATUS* Status_ );
RPCRTAPI unsigned short RPC_ENTRY
UuidHash(UUID* Uuid, RPC_STATUS* Status_ );
RPCRTAPI int RPC_ENTRY
UuidIsNil( UUID* Uuid, RPC_STATUS* Status_ );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerInqDefaultPrincNameA( ULONG AuthnSvc, RPC_CSTR *PrincName );
RPCRTAPI RPC_STATUS RPC_ENTRY
RpcServerInqDefaultPrincNameW( ULONG AuthnSvc, RPC_WSTR *PrincName );
#define RpcServerInqDefaultPrincName WINELIB_NAME_AW(RpcServerInqDefaultPrincName)
#ifdef __cplusplus
}
#endif
#include <rpcdcep.h>
#endif /*__WINE_RPCDCE_H */