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.

38 lines
928 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: oleregpv.h
  7. //
  8. // Contents: Private header for the reg db api's
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: dd-mmm-yy Author Comment
  15. // 08-Sep-95 davidwor added size to szClsidRoot to allow
  16. // sizeof{szClsidRoot) for efficiency
  17. // 01-Dec-93 alexgo 32bit port
  18. //
  19. //--------------------------------------------------------------------------
  20. #ifndef fOleRegPv_h
  21. #define fOleRegPv_h
  22. #define CLOSE(hkey) do { if (hkey) {Verify(ERROR_SUCCESS== \
  23. RegCloseKey(hkey)); hkey=NULL;}} while (0)
  24. #define DELIM OLESTR(",")
  25. #ifdef WIN32
  26. #define Atol(sz) wcstol((sz), NULL, 10)
  27. #else //WIN16
  28. FARINTERNAL_(LONG) Atol(LPOLESTR sz);
  29. #endif //WIN32
  30. extern const OLECHAR szClsidRoot[7];
  31. #endif //fOleRegPv_h