431{
433
438
440
442 {
443 printf(
"Couldn't get the windows directory - error %ld\n",
445
446 return 100;
447 }
448
450 {
452
453 return 100;
454 }
455
458 {
461
465 {
468 {
469
470 return 0;
471 }
472 }
473 }
474
476 {
478 {
479 case 'r':
481 break;
482 case 's':
484 break;
485 default:
487 break;
488 }
489 } else
491
492
494
495
496
498 if (
res && !ops.ntonly && ops.preboot)
500 if (
res && !ops.w9xonly && ops.preboot)
502 if (
res && !ops.ntonly && ops.prelogin)
504 if (
res && !ops.ntonly && ops.prelogin && ops.startup)
506 if (
res && ops.postlogin)
508 if (
res && ops.postlogin && ops.startup)
510 if (
res && ops.postlogin && ops.startup)
512 if (
res && ops.postlogin && ops.startup)
514
515 printf(
"Operation done\n");
516
517 return res ? 0 : 101;
518}
#define RegCloseKey(hKey)
static BOOL ProcessRunKeys(HKEY hkRoot, LPCWSTR szKeyName, BOOL bDelete, BOOL bSynchronous)
const WCHAR runkeys_names[][30]
EXTERN_C HRESULT WINAPI SHCreateSessionKey(REGSAM samDesired, PHKEY phKey)
static const struct op_mask SESSION_START
static const struct op_mask SETUP
static BOOL pendingRename()
#define REG_OPENED_EXISTING_KEY
#define REG_OPTION_VOLATILE
structure holding startup flags
#define GetWindowsDirectory
DWORD WINAPI GetLastError(void)
#define SetCurrentDirectory
#define HKEY_LOCAL_MACHINE
#define HKEY_CURRENT_USER
int WINAPI GetSystemMetrics(_In_ int)