ntdll/tests: Fix incorrect prototype.
Huw Davies
huw at codeweavers.com
Thu May 14 07:45:04 CDT 2015
---
dlls/ntdll/tests/port.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/port.c b/dlls/ntdll/tests/port.c
index e01316b..9525232 100644
--- a/dlls/ntdll/tests/port.c
+++ b/dlls/ntdll/tests/port.c
@@ -115,7 +115,7 @@ static UNICODE_STRING port;
static HMODULE hntdll = 0;
static NTSTATUS (WINAPI *pNtCompleteConnectPort)(HANDLE);
static NTSTATUS (WINAPI *pNtAcceptConnectPort)(PHANDLE,ULONG,PLPC_MESSAGE,ULONG,
- ULONG,PLPC_SECTION_READ);
+ PLPC_SECTION_WRITE,PLPC_SECTION_READ);
static NTSTATUS (WINAPI *pNtReplyPort)(HANDLE,PLPC_MESSAGE);
static NTSTATUS (WINAPI *pNtReplyWaitReceivePort)(PHANDLE,PULONG,PLPC_MESSAGE,
PLPC_MESSAGE);
@@ -182,7 +182,7 @@ static void ProcessConnectionRequest(union lpc_message *LpcMessage, PHANDLE pAcc
ok(!*LpcMessage->msg.Data, "Expected empty string!\n");
}
- status = pNtAcceptConnectPort(pAcceptPortHandle, 0, &LpcMessage->msg, 1, 0, NULL);
+ status = pNtAcceptConnectPort(pAcceptPortHandle, 0, &LpcMessage->msg, 1, NULL, NULL);
ok(status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %x\n", status);
status = pNtCompleteConnectPort(*pAcceptPortHandle);
--
1.8.0
More information about the wine-patches
mailing list