NtAlpcOpenSenderProcess - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTLPCAPI_H
// begin_private

/**
 * The NtAlpcOpenSenderProcess routine opens the process of an ALPC message sender.
 *
 * \param ProcessHandle Receives a handle to the sender process.
 * \param PortHandle Handle to the ALPC port.
 * \param PortMessage Pointer to the ALPC message.
 * \param Flags Opening flags.
 * \param DesiredAccess Desired access rights for the process handle.
 * \param ObjectAttributes Specifies the object attributes for the process handle.
 * \return NTSTATUS Successful or errant status.
 */
_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
NtAlpcOpenSenderProcess(
    _Out_ PHANDLE ProcessHandle,
    _In_ HANDLE PortHandle,
    _In_ PPORT_MESSAGE PortMessage,
    _In_ ALPC_PORT_FLAGS Flags,
    _In_ ACCESS_MASK DesiredAccess,
    _In_ POBJECT_ATTRIBUTES ObjectAttributes
    );

// end_private
#endif

View code on GitHub
#ifndef _NTZWAPI_H

_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwAlpcOpenSenderProcess(
    _Out_ PHANDLE ProcessHandle,
    _In_ HANDLE PortHandle,
    _In_ PPORT_MESSAGE PortMessage,
    _Reserved_ ULONG Flags,
    _In_ ACCESS_MASK DesiredAccess,
    _In_ POBJECT_ATTRIBUTES ObjectAttributes
    );

#endif

View code on GitHub

NtDoc

No description available.