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.

26 lines
1.0 KiB

  1. /************************************************************/
  2. /* Windows Write, Copyright 1985-1992 Microsoft Corporation */
  3. /************************************************************/
  4. /* olereg.h - Contains the header for registration database related calls.
  5. *
  6. * Created by Microsoft Corporation.
  7. */
  8. /* Constants */
  9. #define CBPATHMAX 250
  10. #define KEYNAMESIZE 300 /* Maximum registration key length */
  11. #define CLASSES ((LPSTR)".classes") /* Classes root key */
  12. #define CFILTERMAX 20 /* Max # filters */
  13. #define CFILTERLEN 30 /* Max length of one filters */
  14. #define CBFILTERMAX (CFILTERLEN * CFILTERMAX) /* Max # chars/filter */
  15. #define CBMESSAGEMAX 80
  16. /* Function prototypes */
  17. BOOL FAR RegCopyClassName(HWND hwndList, LPSTR lpstrClassName);
  18. void FAR RegGetClassId(LPSTR lpstrName, LPSTR lpstrClass);
  19. BOOL FAR RegGetClassNames(HWND hwndList);
  20. void FAR RegInit(HANDLE hInst);
  21. int FAR RegMakeFilterSpec(LPSTR lpstrClass, LPSTR lpstrExt, HANDLE *hFilterSpec);
  22. void FAR RegTerm(void);
  23. extern char szClassName[CBPATHMAX];
  24. 
  25.