From 278f743a4c910cdd42c602ef71eabda93a5eef93 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 16 Aug 2004 21:08:38 +0000 Subject: [PATCH] Stub implementation and declaration for NtCreateNamedPipeFile. --- dlls/ntdll/file.c | 20 ++++++++++++++++++++ dlls/ntdll/ntdll.spec | 2 +- include/winternl.h | 1 + 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index a1fe8e414c9..0d4bdec917c 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -1499,3 +1499,23 @@ NTSTATUS WINAPI NtUnlockFile( HANDLE hFile, PIO_STATUS_BLOCK io_status, SERVER_END_REQ; return status; } + +/****************************************************************** + * NtCreateNamedPipeFile (NTDLL.@) + * + * + */ +NTSTATUS WINAPI NtCreateNamedPipeFile( PHANDLE FileHandle, ULONG DesiredAccess, + POBJECT_ATTRIBUTES ObjectAttributes, PIO_STATUS_BLOCK IoStatusBlock, + ULONG ShareAccess, ULONG CreateDisposition, ULONG CreateOptions, + ULONG NamedPipeType, ULONG ReadMode, ULONG CompletionMode, + ULONG MaximumInstances, ULONG InboundQuota, ULONG OutboundQuota, + PLARGE_INTEGER DefaultTimeout) +{ + FIXME("(%p %lx %p %p %lx %ld %lx %ld %ld %ld %ld %ld %ld %p): stub\n", + FileHandle, DesiredAccess, ObjectAttributes, IoStatusBlock, + ShareAccess, CreateDisposition, CreateOptions, NamedPipeType, + ReadMode, CompletionMode, MaximumInstances, InboundQuota, + OutboundQuota, DefaultTimeout); + return STATUS_NOT_IMPLEMENTED; +} diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec index 50b29c69a89..542241d5667 100644 --- a/dlls/ntdll/ntdll.spec +++ b/dlls/ntdll/ntdll.spec @@ -90,7 +90,7 @@ @ stdcall NtCreateKey(ptr long ptr long ptr long long) @ stdcall NtCreateMailslotFile(long long long long long long long long) @ stub NtCreateMutant -@ stub NtCreateNamedPipeFile +@ stdcall NtCreateNamedPipeFile(ptr long ptr ptr long long long long long long long long long ptr) @ stdcall NtCreatePagingFile(long long long long) @ stdcall NtCreatePort(ptr ptr long long long) @ stub NtCreateProcess diff --git a/include/winternl.h b/include/winternl.h index 776d588e33c..b49db5b1482 100644 --- a/include/winternl.h +++ b/include/winternl.h @@ -1231,6 +1231,7 @@ NTSTATUS WINAPI NtClose(HANDLE); NTSTATUS WINAPI NtCreateEvent(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES *,BOOLEAN,BOOLEAN); NTSTATUS WINAPI NtCreateFile(PHANDLE,ACCESS_MASK,POBJECT_ATTRIBUTES,PIO_STATUS_BLOCK,PLARGE_INTEGER,ULONG,ULONG,ULONG,ULONG,PVOID,ULONG); NTSTATUS WINAPI NtCreateKey(PHKEY,ACCESS_MASK,const OBJECT_ATTRIBUTES*,ULONG,const UNICODE_STRING*,ULONG,PULONG); +NTSTATUS WINAPI NtCreateNamedPipeFile(PHANDLE,ULONG,POBJECT_ATTRIBUTES,PIO_STATUS_BLOCK,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG,PLARGE_INTEGER); NTSTATUS WINAPI NtCreateSection(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*,const LARGE_INTEGER*,ULONG,ULONG,HANDLE); NTSTATUS WINAPI NtCreateSemaphore(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*,ULONG,ULONG); NTSTATUS WINAPI NtCreateTimer(HANDLE*, ACCESS_MASK, const OBJECT_ATTRIBUTES*, TIMER_TYPE);