NtAlpcDisconnectPort - NtDoc

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

/**
 * The NtAlpcDisconnectPort routine disconnects an ALPC port.
 *
 * \param PortHandle Handle to the ALPC port to disconnect.
 * \param Flags Disconnect flags.
 * \return NTSTATUS Successful or errant status.
 */
_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
NtAlpcDisconnectPort(
    _In_ HANDLE PortHandle,
    _In_ ALPC_DISCONNECT_PORT_FLAGS Flags
    );

// end_private
#endif

View code on GitHub
#ifndef _NTZWAPI_H

_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwAlpcDisconnectPort(
    _In_ HANDLE PortHandle,
    _In_ ULONG Flags
    );

#endif

View code on GitHub

NtDoc

No description available.