INtime SDK Help
OBJECTDIR, OBJECTDIRENTRY structures

Syntax

typedef struct tagObjDirEntry {
    BYTE        byLength;
    char        cName[12];
    BYTE        byStatus;
    RTHANDLE    hObject;
}  OBJECTDIRENTRY, *LPOBJECTDIRENTRY;
 
typedef struct tagObjectDir {
    WORD        wNumSlots;
    WORD        wNumUsed;
    WORD        wMaxSlots;
    OBJECTDIRENTRY Entry[1];
} OBJECTDIR, *LPOBJECTDIR;

Fields

wNumSlots
Specifies the number of entries to use in the structure.
wNumUsed
Specifies the number of elements used in the Entry array.
wMaxSlots
Specifies the number of available entries in the process directory.
Entry
Each element of the array has the following fields:
byLength The length of the name in cName.
cName The name of the entry, unpadded or terminated.
byStatus Contains one of these values:

0 Indicates an invalid entry.

1 Indicates a valid entry.

2 Indicates that a thread waits for this name to be cataloged.

hObject Contains the handle of the object cataloged if the entry is valid.
See Also