PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

RegistryEntryIDInit

RegistryEntryIDInit initializes a RegEntryID structure to a known, invalid state.

OSStatus RegistryEntryIDInit (RegEntryID *id);
--> id
Pointer to an identifier to be initialized.
DESCRIPTION

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.

EXECUTION CONTEXT

RegistryEntryIDInit may be called from task level or secondary and hardware interrupt level.

RESULT CODES
noErr 0 No error
paramErr -50 Bad parameter

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)