/*
* Import the loaded system hive
*/
- RegImportBinaryHive((PCHAR)Base, Size);
+ if( !RegImportBinaryHive((PCHAR)Base, Size) )
+ {
+ printf("Could not load system hive\n");
+ return;
+ }
/*
* Initialize the 'CurrentControlSet' link
#undef DbgPrint
ULONG
-DbgPrint(const char *Format, ...)
+__cdecl
+DbgPrint(PCCH Format, ...)
{
va_list ap;
CHAR Buffer[512];