RtEnumProxyProcesses

The RtEnumProxyProcesses function enumerates proxy processes associated with Windows processes linked to RTAPI.

Syntax

BOOL RtEnumProxyProcesses(
    DWORD *pProcessIds,
    DWORD cb,
    DWORD *pBytesReturned,
);

Parameters

pProcessIds

A pointer to an array that receives the list of Windows process identifiers.

cb

The size of the pProcessIds array, in bytes.

pBytesReturned

The number of bytes returned in the pProcessIds array.

Return Value

Returns TRUE if the function succeeds, FALSE if the function fails.

To get extended error information, call GetLastError.

Remarks

It is a good idea to use a large array, because it is hard to predict how many Windows processes linked to RTX64 there will be at the time you call RtEnumProxyProcesses.

Proxy processes created by a RTK-enabled Windows driver will return odd process identifiers, beginning with the number 1.

Requirements

Minimum Supported Version RTX64 2014 with Service Pack 1
Header Rtapi.h
Library RtApi.lib (Windows), Rtx_Rtss.lib (RTSS)