INtime SDK Help
InspectRtProcessDirectory
INtime SDK v7 > About INtime > INtime Kernel > Object Directories > InspectRtProcessDirectory

Returns the contents of a process' object directory.

BOOLEAN InspectRtProcessDirectory(
    RTHANDLE hProcess,
    LPOBJECTDIR pObjectDir
);

Parameters

hProcess
The handle for the process whose directory you want to inspect.
pObjectDir
A pointer to the OBJECTDIR structure where you want the directory contents transferred. You must fill the structure's wNumSlots field with the number of entries to use in the structure before making this call.

Return Values

TRUE and the OBJECTDIR 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
pObjectDir is not a valid pointer to writable memory.

Requirements

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