Returns information about the specified slot.
#include <fshooks.h> int fs_getslotinfo ( int slot, char *name, uint16_t *objectType, uint32_t *objectId, char *loginTime );
(IN) Specifies a slot ID returned in an event structure.
(OUT) Points to the name associated with the slot.
(OUT) Points to the type of object logged in to the slot.
(OUT) Points to the object ID associated with the slot.
(OUT) Points to the date and time when the object logged in.
If successful, returns 0. Otherwise, returns a nonzero error code.
Some event structures return a slotID. The fs_getslotinfo function allows you to obtain information about the user who caused the event.