2006-05-10 17:47:44 +00:00
|
|
|
/*++ NDK Version: 0098
|
2006-05-05 18:13:26 +00:00
|
|
|
|
|
|
|
Copyright (c) Alex Ionescu. All rights reserved.
|
|
|
|
|
|
|
|
Header Name:
|
|
|
|
|
|
|
|
lpcfuncs.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
|
2017-01-30 11:45:51 +00:00
|
|
|
Function definitions for the Local Procedure Call.
|
2006-05-05 18:13:26 +00:00
|
|
|
|
|
|
|
Author:
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
|
2006-05-05 18:13:26 +00:00
|
|
|
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#ifndef _LPCFUNCS_H
|
|
|
|
#define _LPCFUNCS_H
|
|
|
|
|
|
|
|
//
|
|
|
|
// Dependencies
|
|
|
|
//
|
|
|
|
#include <umtypes.h>
|
2017-01-30 11:45:51 +00:00
|
|
|
#include <lpctypes.h>
|
2006-05-05 18:13:26 +00:00
|
|
|
|
2006-10-26 04:55:34 +00:00
|
|
|
//
|
|
|
|
// LPC Exports
|
|
|
|
//
|
|
|
|
#ifndef NTOS_MODE_USER
|
|
|
|
NTKERNELAPI
|
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
LpcRequestWaitReplyPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ PVOID Port,
|
|
|
|
_In_ PPORT_MESSAGE LpcMessageRequest,
|
|
|
|
_Out_ PPORT_MESSAGE LpcMessageReply
|
2006-10-30 14:17:37 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
LpcRequestPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ PVOID Port,
|
|
|
|
_In_ PPORT_MESSAGE LpcMessage
|
2006-10-30 14:17:37 +00:00
|
|
|
);
|
2006-10-26 04:55:34 +00:00
|
|
|
#endif
|
|
|
|
|
2006-05-05 18:13:26 +00:00
|
|
|
//
|
|
|
|
// Native calls
|
|
|
|
//
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtAcceptConnectPort(
|
2013-06-29 05:48:22 +00:00
|
|
|
_Out_ PHANDLE PortHandle,
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_opt_ PVOID PortContext,
|
|
|
|
_In_ PPORT_MESSAGE ConnectionRequest,
|
|
|
|
_In_ BOOLEAN AcceptConnection,
|
2016-11-07 01:06:24 +00:00
|
|
|
_Inout_opt_ PPORT_VIEW ServerView,
|
|
|
|
_Out_opt_ PREMOTE_PORT_VIEW ClientView
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtCompleteConnectPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
NTSYSCALLAPI
|
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtConnectPort(
|
2013-06-29 05:48:22 +00:00
|
|
|
_Out_ PHANDLE PortHandle,
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ PUNICODE_STRING PortName,
|
|
|
|
_In_ PSECURITY_QUALITY_OF_SERVICE SecurityQos,
|
2016-11-07 01:06:24 +00:00
|
|
|
_Inout_opt_ PPORT_VIEW ClientView,
|
|
|
|
_Inout_opt_ PREMOTE_PORT_VIEW ServerView,
|
|
|
|
_Out_opt_ PULONG MaxMessageLength,
|
|
|
|
_Inout_opt_ PVOID ConnectionInformation,
|
|
|
|
_Inout_opt_ PULONG ConnectionInformationLength
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtCreatePort(
|
2013-06-29 05:48:22 +00:00
|
|
|
_Out_ PHANDLE PortHandle,
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ POBJECT_ATTRIBUTES ObjectAttributes,
|
|
|
|
_In_ ULONG MaxConnectionInfoLength,
|
|
|
|
_In_ ULONG MaxMessageLength,
|
|
|
|
_In_ ULONG MaxPoolUsage
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtCreateWaitablePort(
|
2013-06-29 05:48:22 +00:00
|
|
|
_Out_ PHANDLE PortHandle,
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ POBJECT_ATTRIBUTES ObjectAttributes,
|
|
|
|
_In_ ULONG MaxConnectInfoLength,
|
|
|
|
_In_ ULONG MaxDataLength,
|
|
|
|
_In_opt_ ULONG NPMessageQueueSize
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtImpersonateClientOfPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE ClientMessage
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtListenPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE ConnectionRequest
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtQueryInformationPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PORT_INFORMATION_CLASS PortInformationClass,
|
|
|
|
_Out_bytecap_(PortInformationLength) PVOID PortInformation,
|
|
|
|
_In_ ULONG PortInformationLength,
|
|
|
|
_Out_ PULONG ReturnLength
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-10-23 21:19:15 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtQueryPortInformationProcess(
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtReadRequestData(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE Message,
|
|
|
|
_In_ ULONG Index,
|
|
|
|
_Out_bytecap_(BufferLength) PVOID Buffer,
|
|
|
|
_In_ ULONG BufferLength,
|
|
|
|
_Out_ PULONG ReturnLength
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtReplyPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE LpcReply
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtReplyWaitReceivePort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_Out_opt_ PVOID *PortContext,
|
|
|
|
_In_opt_ PPORT_MESSAGE ReplyMessage,
|
|
|
|
_Out_ PPORT_MESSAGE ReceiveMessage
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtReplyWaitReceivePortEx(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_Out_opt_ PVOID *PortContext,
|
|
|
|
_In_opt_ PPORT_MESSAGE ReplyMessage,
|
|
|
|
_Out_ PPORT_MESSAGE ReceiveMessage,
|
|
|
|
_In_opt_ PLARGE_INTEGER Timeout
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtReplyWaitReplyPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_Out_ PPORT_MESSAGE ReplyMessage
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtRequestPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE LpcMessage
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
NTSYSCALLAPI
|
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtRequestWaitReplyPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_Out_ PPORT_MESSAGE LpcReply,
|
|
|
|
_In_ PPORT_MESSAGE LpcRequest
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
NTSYSCALLAPI
|
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtSecureConnectPort(
|
2013-06-29 05:48:22 +00:00
|
|
|
_Out_ PHANDLE PortHandle,
|
|
|
|
_In_ PUNICODE_STRING PortName,
|
|
|
|
_In_ PSECURITY_QUALITY_OF_SERVICE SecurityQos,
|
2016-11-07 01:06:24 +00:00
|
|
|
_Inout_opt_ PPORT_VIEW ClientView,
|
|
|
|
_In_opt_ PSID ServerSid,
|
|
|
|
_Inout_opt_ PREMOTE_PORT_VIEW ServerView,
|
|
|
|
_Out_opt_ PULONG MaxMessageLength,
|
|
|
|
_Inout_opt_ PVOID ConnectionInformation,
|
|
|
|
_Inout_opt_ PULONG ConnectionInformationLength
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSCALLAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
NtWriteRequestData(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE Message,
|
|
|
|
_In_ ULONG Index,
|
|
|
|
_In_bytecount_(BufferLength) PVOID Buffer,
|
|
|
|
_In_ ULONG BufferLength,
|
|
|
|
_Out_ PULONG ReturnLength
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwAcceptConnectPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_Out_ PHANDLE PortHandle,
|
|
|
|
_In_opt_ PVOID PortContext,
|
|
|
|
_In_ PPORT_MESSAGE ConnectionRequest,
|
|
|
|
_In_ BOOLEAN AcceptConnection,
|
|
|
|
_In_opt_ PPORT_VIEW ServerView,
|
|
|
|
_In_opt_ PREMOTE_PORT_VIEW ClientView
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwCompleteConnectPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwConnectPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_Out_ PHANDLE PortHandle,
|
|
|
|
_In_ PUNICODE_STRING PortName,
|
|
|
|
_In_ PSECURITY_QUALITY_OF_SERVICE SecurityQos,
|
|
|
|
_In_opt_ PPORT_VIEW ClientView,
|
|
|
|
_In_opt_ PREMOTE_PORT_VIEW ServerView,
|
|
|
|
_In_opt_ PULONG MaxMessageLength,
|
|
|
|
_In_opt_ PVOID ConnectionInformation,
|
|
|
|
_In_opt_ PULONG ConnectionInformationLength
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwCreatePort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_Out_ PHANDLE PortHandle,
|
|
|
|
_In_ POBJECT_ATTRIBUTES ObjectAttributes,
|
|
|
|
_In_ ULONG MaxConnectionInfoLength,
|
|
|
|
_In_ ULONG MaxMessageLength,
|
|
|
|
_In_ ULONG MaxPoolUsage
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwCreateWaitablePort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_Out_ PHANDLE PortHandle,
|
|
|
|
_In_ POBJECT_ATTRIBUTES ObjectAttributes,
|
|
|
|
_In_ ULONG MaxConnectInfoLength,
|
|
|
|
_In_ ULONG MaxDataLength,
|
|
|
|
_In_opt_ ULONG NPMessageQueueSize
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwImpersonateClientOfPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE ClientMessage
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwListenPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE ConnectionRequest
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwQueryInformationPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PORT_INFORMATION_CLASS PortInformationClass,
|
|
|
|
_Out_bytecap_(PortInformationLength) PVOID PortInformation,
|
|
|
|
_In_ ULONG PortInformationLength,
|
|
|
|
_Out_ PULONG ReturnLength
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwReadRequestData(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE Message,
|
|
|
|
_In_ ULONG Index,
|
|
|
|
_Out_bytecap_(BufferLength) PVOID Buffer,
|
|
|
|
_In_ ULONG BufferLength,
|
|
|
|
_Out_ PULONG ReturnLength
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwReplyPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE LpcReply
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwReplyWaitReceivePort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_Out_opt_ PVOID *PortContext,
|
|
|
|
_In_opt_ PPORT_MESSAGE ReplyMessage,
|
|
|
|
_Out_ PPORT_MESSAGE ReceiveMessage
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwReplyWaitReceivePortEx(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_Out_opt_ PVOID *PortContext,
|
|
|
|
_In_opt_ PPORT_MESSAGE ReplyMessage,
|
|
|
|
_Out_ PPORT_MESSAGE ReceiveMessage,
|
|
|
|
_In_opt_ PLARGE_INTEGER Timeout
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwReplyWaitReplyPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_Out_ PPORT_MESSAGE ReplyMessage
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwRequestPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE LpcMessage
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwRequestWaitReplyPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_Out_ PPORT_MESSAGE LpcReply,
|
|
|
|
_In_ PPORT_MESSAGE LpcRequest
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwSecureConnectPort(
|
2013-01-13 14:49:21 +00:00
|
|
|
_Out_ PHANDLE PortHandle,
|
|
|
|
_In_ PUNICODE_STRING PortName,
|
|
|
|
_In_ PSECURITY_QUALITY_OF_SERVICE SecurityQos,
|
|
|
|
_Inout_opt_ PPORT_VIEW ClientView,
|
|
|
|
_In_opt_ PSID Sid,
|
|
|
|
_Inout_opt_ PREMOTE_PORT_VIEW ServerView,
|
|
|
|
_Out_opt_ PULONG MaxMessageLength,
|
|
|
|
_Inout_opt_ PVOID ConnectionInformation,
|
|
|
|
_Inout_opt_ PULONG ConnectionInformationLength
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
2006-05-10 17:47:44 +00:00
|
|
|
NTSYSAPI
|
2006-05-05 18:13:26 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
ZwWriteRequestData(
|
2013-01-13 14:49:21 +00:00
|
|
|
_In_ HANDLE PortHandle,
|
|
|
|
_In_ PPORT_MESSAGE Message,
|
|
|
|
_In_ ULONG Index,
|
|
|
|
_In_bytecount_(BufferLength) PVOID Buffer,
|
|
|
|
_In_ ULONG BufferLength,
|
|
|
|
_Out_ PULONG ReturnLength
|
2006-05-05 18:13:26 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|