Rtfwnl2GetClientProcessIDs
Rtfwnl2GetClientProcessIDs returns the IDs for all Network Link Layer (NL2) client processes.
Syntax
bool Rtfwnl2GetClientProcessIDs(
[out] DWORD * pProcessIDs,
[out] size_t * pCountElements
);
Parameters
[out] pProcessIDs
A user-supplied array that will be filled in with PIDs of processes currently attached to the NL2.
[out] 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
If the function succeeds, it returns TRUE. If the function fails, 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 NL2 client PIDs. |
|
ERROR_INSUFFICIENT_BUFFER |
Insufficient memory. |
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
Rtfwnl2Api.h |
Rtfwnl2Api.lib |