Commit graph

79 commits

Author SHA1 Message Date
Alexandre Julliard
240e4387e8 include: Make strict prototypes the default. 2023-11-29 23:16:39 +01:00
Alexandre Julliard
19cc2439ed include: Remove DECLSPEC_HIDDEN from GUID definitions. 2023-11-08 10:10:50 +01:00
Alex Henrie
f27ac1bb77 include: Annotate MIDL_user_allocate with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). 2023-11-03 18:05:00 +01:00
Brendan Shanks
eb55f64d52 include: Add __WINE_DEALLOC attribute and use it for allocation functions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:36:10 +02:00
Brendan Shanks
fd1b9afc1d include: Add __WINE_MALLOC attribute and use it for allocation functions.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 18:36:10 +02:00
Jacek Caban
4444d19ee3 rpcndr.h: Avoid error_status_t redefinition.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-25 20:23:47 +02:00
Alexandre Julliard
7bafeef595 include: Get rid of Mac support in RPC headers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-30 12:37:27 +02:00
Zebediah Figura
36c5adca37 rpcrt4: Implement Ndr64AsyncClientCall().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45699
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 10:45:44 +02:00
Zebediah Figura
9369aea260 rpcrt4: Implement NdrClientCall3().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45699
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 10:45:41 +02:00
Louis Lenders
e54224e88c rpcrt4: Add NdrServerCallAll stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47131
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 09:17:42 -05:00
Jacek Caban
3c5ae5a105 include: Don't use unnamed struct for NDR_SCONTEXT declaration.
Fixes C++ warning.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-08 17:20:05 -06:00
Alexandre Julliard
667b150a98 include: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:20:27 +01:00
Michael Müller
2aaeeb105e include: Fix definition of EXTERN_GUID.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 10:33:54 +02:00
Dmitry Timoshkov
4dff2e7157 include: Fix a typo in _MSC_VER. 2014-03-24 11:46:41 +01:00
Jacek Caban
430b7c9b91 rpcndr.h: Don't redefine EXTERN_GUID if it's already defined. 2014-03-10 16:36:07 +01:00
Jacek Caban
6261ab2686 rpcndr.h: Added EXTERN_GUID define. 2013-08-19 19:06:52 +02:00
Michael Stefaniuc
517d9333d4 include: Drop unneeded l modifiers from numeric constants in rpcndr.h. 2011-11-23 12:28:56 +01:00
Alexandre Julliard
f061917296 include: Make CLIENT_CALL_RETURN definition platform-specific to handle the return type incompatibility in NdrClientCall. 2011-06-02 16:22:43 +02:00
Francois Gouget
96f33b94bd include: Add some __RPC_XXX macros to help compile code using midl-generated headers. 2011-05-24 16:55:23 +02:00
André Hentschel
3eef4e110c include: Increase rpcndr header version. 2010-12-01 11:11:17 +01:00
Amine Khaldi
c9dcef156e widl: Do not define MIDL_user_allocate and MIDL_user_free as it's already in the psdk. 2010-10-27 12:02:41 +02:00
Alexandre Julliard
2349a5eb4f include: Move some included files outside of extern "C". 2010-09-07 13:37:41 +02:00
Alexandre Julliard
a717d2d284 include: Define hyper to INT64 instead of __int64 to get the correct alignment 2009-11-21 14:31:46 +01:00
Francois Gouget
8f43b54a90 rpcrt4: A signed 1-bit bitfield doesn't make much sense; use unsigned. 2009-10-08 12:17:31 +02:00
Alexandre Julliard
0e67f65cab include: Add support for building Wine with strict prototype checking. 2009-10-06 16:12:39 +02:00
Alexandre Julliard
cdbd3fdc6a include: Fix the packing of the MIDL_STUB_MESSAGE structure on 64-bit. 2009-05-27 21:17:32 +02:00
Rob Shearman
d3085abc08 Change parameter type from size_t to SIZE_T for MIDL_user_allocate. 2009-02-02 11:55:21 +01:00
Rob Shearman
05063ece28 rpcrt4: Don't declare functions that aren't exported by rpcrt4.dll in include/rpcndr.h.
NdrRangeMarshall, NdrRangeBufferSize, NdrRangeFree and
NdrByteCountPointerMemorySize should be declared static in
ndr_marshall.c instead.
2009-01-23 16:13:53 +01:00
Michael Stefaniuc
c0827c7a67 include: Change RPC_LENGTH to ULONG for Win64 compatibility. 2009-01-04 13:35:03 +01:00
Alexandre Julliard
d60c32769d include: Added definition for RPC_BAD_STUB_DATA_EXCEPTION_FILTER. 2008-09-15 11:30:29 +02:00
Marcus Meissner
68f63689cb include: Mark up with alloc_size attribute. 2008-09-10 10:55:50 +02:00
Rob Shearman
a8f7c716ef rpcrt4: Change type of len parameter of NdrAllocate from size_t to SIZE_T.
Use SIZE_T as it matches the size that Windows programs expect whereas
size_t is platform-dependent.
2008-09-08 12:51:37 +02:00
Marcus Meissner
96412ee564 Annotate with allocation size attribute. 2008-09-05 11:22:26 +02:00
Rob Shearman
7f1b7c51be include: Add new bitfields to MIDL_STUB_MESSAGE added in Vista SDKs.
Move fBufferValid to a bitfield and update the corresponding tests in rpcrt4.
Add tests for the new fields.
2008-06-23 12:48:59 +02:00
Rob Shearman
52911fc66c include: Update the MIDL_STUB_MESSAGE structure.
Reduce the size of the IsClient field, as is done in the latest SDKs
to fix NdrClientInitializeNew tests on XP SP3 and Win2003+.
2008-06-19 11:54:49 +02:00
Rob Shearman
85f3fedc4b include: Add declaration for RpcSmDestroyClientContext to rpcndr.h. 2008-06-10 11:33:17 +02:00
Rob Shearman
26a14d8bd3 include: Add more NDR types and function declarations to rpcndr.h. 2007-12-18 12:26:37 +01:00
Rob Shearman
6d4f63e73f include: Fix the byte-order in the definition of the USER_MARSHAL_CB_SIGNATURE macro. 2007-03-20 12:56:41 +01:00
Francois Gouget
45d5ff01a6 rpcrt4: Better match the PSDK types and fix the winapi_check warnings. 2007-02-07 21:42:02 +01:00
Francois Gouget
fa7c32f56c rpcrt4: Give a proper name to some formerly reserved MIDL_STUB_MESSAGE fields.
Define NTDDI_VERSION so we get definitions for the Reserved51_X fields with the PSDK.
This fixes compilation of the ndr_marshall.c with the PSDK.
2007-01-11 11:37:13 +01:00
Michael Stefaniuc
9023bc0d13 rpcndr.h: Use ULONG/LONG/DWORD for Win64 compatibility instead of unsigned long/long. 2006-11-09 10:43:32 +01:00
Francois Gouget
87045eb0c5 Fix rpcndr.h so it takes CONST_VTABLE into account.
Define CONST_VTABLE in the tests that need it. This fixes many Visual C++ warnings.
2006-09-29 17:52:27 +02:00
Robert Shearman
c71af73324 oleaut32: Add a typedef for "boolean".
Fix up an conflict that this type has with jpeglib.h.
2006-07-07 13:31:37 +02:00
Mike McCormack
3742333581 rpcrt4: Remove unused IN and OUT macros. 2006-05-26 11:56:00 +02:00
Robert Shearman
4e85273086 rpcrt4: Implement explicit generic binding handles. 2006-05-25 10:40:23 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman
f9e245fe54 include: Add function declarations for the Range type. 2006-02-03 18:45:59 +01:00
Robert Shearman
3433839b20 include: Add types and definitions for RPC user callback routines. 2006-01-27 12:53:51 +01:00
Rob Shearman
2dbc7f41c3 Add declarations for NdrAsyncClientCall, NdrAsyncStubCall and
RpcMgmtEnableIdleCleanup.
2005-11-02 10:55:27 +00:00
Ge van Geldorp
94dc00c558 Fix NdrServerContextMarshall prototype. 2005-09-08 11:02:38 +00:00