Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c171379f
Commit
c171379f
authored
Jan 11, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use ULONG in rpcdcep.h for Win64 compatibility.
parent
ca8d5a79
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ndr_marshall.c
dlls/rpcrt4/tests/ndr_marshall.c
+2
-2
rpcdcep.h
include/rpcdcep.h
+4
-4
No files found.
dlls/rpcrt4/tests/ndr_marshall.c
View file @
c171379f
...
...
@@ -1143,7 +1143,7 @@ static void test_client_init(void)
/* Note: ReservedForRuntime not tested */
TEST_POINTER_UNSET
(
ManagerEpv
);
TEST_POINTER_UNSET
(
ImportContext
);
ok
(
rpcMsg
.
RpcFlags
==
0
,
"rpcMsg.RpcFlags should have been 0 instead of 0x%
l
x
\n
"
,
rpcMsg
.
RpcFlags
);
ok
(
rpcMsg
.
RpcFlags
==
0
,
"rpcMsg.RpcFlags should have been 0 instead of 0x%x
\n
"
,
rpcMsg
.
RpcFlags
);
#undef TEST_POINTER_UNSET
#define TEST_ZERO(field, fmt) ok(stubMsg.field == 0, #field " should have been set to zero instead of " fmt "\n", stubMsg.field)
...
...
@@ -1978,7 +1978,7 @@ static void test_ndr_buffer(void)
ok
(
RpcMessage
.
BufferLength
==
10
||
broken
(
RpcMessage
.
BufferLength
==
12
),
/* win2k */
"RpcMessage.BufferLength should have been 10 instead of %d
\n
"
,
RpcMessage
.
BufferLength
);
ok
(
RpcMessage
.
RpcFlags
==
0
,
"RpcMessage.RpcFlags should have been 0x0 instead of 0x%
l
x
\n
"
,
RpcMessage
.
RpcFlags
);
ok
(
RpcMessage
.
RpcFlags
==
0
,
"RpcMessage.RpcFlags should have been 0x0 instead of 0x%x
\n
"
,
RpcMessage
.
RpcFlags
);
ok
(
StubMsg
.
Buffer
!=
NULL
,
"Buffer should not have been NULL
\n
"
);
ok
(
!
StubMsg
.
BufferStart
,
"BufferStart should have been NULL instead of %p
\n
"
,
StubMsg
.
BufferStart
);
ok
(
!
StubMsg
.
BufferEnd
,
"BufferEnd should have been NULL instead of %p
\n
"
,
StubMsg
.
BufferEnd
);
...
...
include/rpcdcep.h
View file @
c171379f
...
...
@@ -36,7 +36,7 @@ typedef struct _RPC_SYNTAX_IDENTIFIER {
typedef
struct
_RPC_MESSAGE
{
RPC_BINDING_HANDLE
Handle
;
unsigned
long
DataRepresentation
;
ULONG
DataRepresentation
;
void
*
Buffer
;
unsigned
int
BufferLength
;
unsigned
int
ProcNum
;
...
...
@@ -45,7 +45,7 @@ typedef struct _RPC_MESSAGE
void
*
ReservedForRuntime
;
RPC_MGR_EPV
*
ManagerEpv
;
void
*
ImportContext
;
unsigned
long
RpcFlags
;
ULONG
RpcFlags
;
}
RPC_MESSAGE
,
*
PRPC_MESSAGE
;
/* or'ed with ProcNum */
...
...
@@ -202,13 +202,13 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
typedef
RPC_STATUS
(
*
RPC_BLOCKING_FN
)(
void
*
hWnd
,
void
*
Context
,
void
*
hSyncEvent
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
I_RpcBindingSetAsync
(
RPC_BINDING_HANDLE
Binding
,
RPC_BLOCKING_FN
BlockingFn
,
unsigned
long
ServerTid
);
I_RpcBindingSetAsync
(
RPC_BINDING_HANDLE
Binding
,
RPC_BLOCKING_FN
BlockingFn
,
ULONG
ServerTid
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
I_RpcSetThreadParams
(
int
fClientFree
,
void
*
Context
,
void
*
hWndClient
);
RPCRTAPI
UINT
RPC_ENTRY
I_RpcWindowProc
(
void
*
hWnd
,
unsigned
int
Message
,
unsigned
int
wParam
,
unsigned
long
lParam
);
I_RpcWindowProc
(
void
*
hWnd
,
unsigned
int
Message
,
unsigned
int
wParam
,
ULONG
lParam
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment