RtfwGetNALClientProcessIDs

RtfwGetNALClientProcessIDs returns the IDs for all Network Abstraction Layer (NAL) client processes.

Syntax

bool RtfwGetNALClientProcessIDs(
    DWORD * pProcessIDs,
    size_t * pCountElements
);

Parameters

pProcessIDs

A user-supplied array that will be filled in with PIDs of processes currently attached to the NAL.

pCountElements

A pointer to the number of elements in the array pointed to by parameter pProcessIDs. If successful, this API updates that to be the number of PIDs stored in the array.

Return Value

The function returns true if it succeeds. Otherwise, it returns false. Call GetLastError for additional error information.

Possible error codes:

Error Code Meaning
RT_ERROR_TIMEOUT_QUERYING_NAL_CLIENT_PIDS A timeout occurred while querying for the list of NAL client PIDs.
ERROR_INSUFFICIENT_BUFFER Insufficient memory.

Remarks

If the Subsystem is running when the RtfwGetLocalMemoryConfiguration API is called, the values returned by this function may differ from the values currently in use by the Subsystem.

Requirements

Minimum Required Version RTX64 4.0
Header RtfwAPI.h
Library RtfwAPI.lib

See Also:

RtfwStartNAL

RtfwStopNAL

RtfwStartTCPIPStack

RtfwStopTCPIPStack

RtfwGetNALStatus

RtfwGetTCPIPStatus

RtfwGetTCPIPClientProcessIDs

RtfwGetNetworkInterfacesStatus

RtfwGetSubsystemStatus

RtfwStopSubsystem