RegistryEntryIDInit initializes a RegEntryID structure to a known, invalid state.
OSStatus RegistryEntryIDInit (RegEntryID *id);
Since RegEntryID values are allocated on the stack, it is not possible to determine whether one contains a valid reference or uninitialized data from the stack. RegistryEntryIDInit corrects this problem. It should be called before a RegEntryID structure is used.
RegistryEntryIDInit may be called from task level or secondary and hardware interrupt level.