mirror of https://github.com/tongzx/nt5src
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.
27 lines
1.0 KiB
27 lines
1.0 KiB
/************************************************************/
|
|
/* Windows Write, Copyright 1985-1992 Microsoft Corporation */
|
|
/************************************************************/
|
|
/* olereg.h - Contains the header for registration database related calls.
|
|
*
|
|
* Created by Microsoft Corporation.
|
|
*/
|
|
/* Constants */
|
|
#define CBPATHMAX 250
|
|
#define KEYNAMESIZE 300 /* Maximum registration key length */
|
|
#define CLASSES ((LPSTR)".classes") /* Classes root key */
|
|
#define CFILTERMAX 20 /* Max # filters */
|
|
#define CFILTERLEN 30 /* Max length of one filters */
|
|
#define CBFILTERMAX (CFILTERLEN * CFILTERMAX) /* Max # chars/filter */
|
|
#define CBMESSAGEMAX 80
|
|
|
|
/* Function prototypes */
|
|
BOOL FAR RegCopyClassName(HWND hwndList, LPSTR lpstrClassName);
|
|
void FAR RegGetClassId(LPSTR lpstrName, LPSTR lpstrClass);
|
|
BOOL FAR RegGetClassNames(HWND hwndList);
|
|
void FAR RegInit(HANDLE hInst);
|
|
int FAR RegMakeFilterSpec(LPSTR lpstrClass, LPSTR lpstrExt, HANDLE *hFilterSpec);
|
|
void FAR RegTerm(void);
|
|
|
|
extern char szClassName[CBPATHMAX];
|
|
|
|
|