INtime SDK Help
GetRtProcessDirectoryEntryLong
INtime SDK v7.1 > About INtime > INtime Kernel > Object Directories > GetRtProcessDirectoryEntryLong

Returns the contents of a process' object directory entry by index including the long name for the entry if it exists.

BOOLEAN GetRtProcessDirectoryEntry(
    RTHANDLE hProcess,
    DWORD dwIndex,
    LPOBJECTDIRENTRYLONG pEntry
);

Parameters

hProcess
The handle for the process whose directory you want to inspect.
dwIndex
The index into the process object directory.
pEntry
A pointer to the OBJECTDIRENTRY structure where you want the directory contents transferred.

Return Values

TRUE and the OBJECTDIRENTRY structure contains the contents of the directory inspected.
Success.
FALSE
Failure. To determine extended status, call GetLastRtError.
Status
E_EXIST 0x0006
hProcess is not a valid handle.
E_TYPE 0x8002
hProcess is not a handle for a process object.
E_BAD_ADDR 0x800F
pEntry is not a valid pointer to writable memory.

Requirements

Versions Defined in Include Link to
INtime 7.1 intime/rt/include/rtbase.h rt.h rt.lib
See Also

Structures