Leaked source code of windows server 2003
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.

50 lines
1.5 KiB

  1. /*
  2. File miscdb
  3. The miscellaneous settings database definition for the dialup server ui.
  4. Paul Mayfield, 10/8/97
  5. */
  6. #ifndef __miscdb_h
  7. #define __miscdb_h
  8. #include <windows.h>
  9. #define MISCDB_RAS_LEVEL_ERR_AND_WARN 0x2
  10. // Opens a handle to the database of devices
  11. DWORD miscOpenDatabase(HANDLE * hMiscDatabase);
  12. // Closes the general database and flushes any changes
  13. // to the system when bFlush is TRUE
  14. DWORD miscCloseDatabase(HANDLE hMiscDatabase);
  15. // Commits any changes made to the general tab values
  16. DWORD miscFlushDatabase(HANDLE hMiscDatabase);
  17. // Rollsback any changes made to the general tab values
  18. DWORD miscRollbackDatabase(HANDLE hMiscDatabase);
  19. // Reloads any values for the general tab from disk
  20. DWORD miscReloadDatabase(HANDLE hMiscDatabase);
  21. // Gets the multilink enable status
  22. DWORD miscGetMultilinkEnable(HANDLE hMiscDatabase, BOOL * pbEnabled);
  23. // Sets the multilink enable status
  24. DWORD miscSetMultilinkEnable(HANDLE hMiscDatabase, BOOL bEnable);
  25. // Gets the enable status of the "Show icons in the task bar" check box
  26. DWORD miscGetIconEnable(HANDLE hMiscDatabase, BOOL * pbEnabled);
  27. // Sets the enable status of the "Show icons in the task bar" check box
  28. DWORD miscSetIconEnable(HANDLE hMiscDatabase, BOOL bEnable);
  29. // Tells whether this is nt workstation or nt server
  30. DWORD miscGetProductType(HANDLE hMiscDatabase, PBOOL pbIsServer);
  31. // Turns on ras error and warning logging
  32. DWORD miscSetRasLogLevel(HANDLE hMiscDatabase, DWORD dwLevel);
  33. #endif