Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.4 KiB

  1. // **************************************************************************
  2. // Copyright (c) 1997-1999 Microsoft Corporation
  3. //
  4. // File: bootinstprov.mof
  5. //
  6. // Description:
  7. //
  8. // History:
  9. //
  10. // **************************************************************************
  11. /////////////////////////////////////////////////////////////////////
  12. // Declare an instance of the __Win32Provider so as to "register" the
  13. // boot parameters provider
  14. instance of __Win32Provider as $P
  15. {
  16. Name = "bootinstprov" ;
  17. ClsId = "{22CB8761-914A-11cf-B705-00AA0062CBB8}" ;
  18. } ;
  19. instance of __InstanceProviderRegistration
  20. {
  21. Provider = $P;
  22. SupportsPut = TRUE;
  23. SupportsGet = TRUE;
  24. SupportsDelete = FALSE;
  25. SupportsEnumeration = FALSE;
  26. };
  27. [dynamic]
  28. class OSParameters{
  29. String Directory="";
  30. [key]
  31. String OperatingSystem="";
  32. Boolean Redirect=FALSE;
  33. Boolean Debug=FALSE;
  34. Boolean Fastdetect=FALSE;
  35. String Rest = "";
  36. };
  37. /////////////////////////////////////////////////////////////////////
  38. //
  39. // Declare a class whose dynamic instances are provided by the
  40. // sample provider.
  41. [singleton(TRUE),dynamic, provider("bootinstprov"),
  42. ClassContext("Boot Parameters!")]
  43. class BootLoaderParameters
  44. {
  45. String Default="";
  46. [ValueMap{"com1","com2","biossettings","no"},Values{"com1","com2","biossettings","no"}]
  47. String Redirect="no";
  48. uint32 Delay=30;
  49. OSParameters operating_systems[];
  50. };