windows-nt/Source/XPSP1/NT/base/screg/winreg/cntrtext/initodat/common.h
2020-09-26 16:20:57 +08:00

72 lines
994 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (c) 1993-1994 Microsoft Corporation
Module Name:
common.c
Abstract:
Utility routines used by IniToDat.exe
Author:
HonWah Chan (a-honwah) October, 1993
Revision History:
--*/
#ifndef _COMMON_H_
#define _COMMON_H_
//
// Local constants
//
#define RESERVED 0L
#define LARGE_BUFFER_SIZE 0x10000 // 64K
#define MEDIUM_BUFFER_SIZE 0x8000 // 32K
#define SMALL_BUFFER_SIZE 0x1000 // 4K
#define FILE_NAME_BUFFER_SIZE MAX_PATH
#define DISP_BUFF_SIZE 256L
#define SIZE_OF_OFFSET_STRING 15
LPTSTR
GetStringResource (
UINT wStringId
);
LPSTR
GetFormatResource (
UINT wStringId
);
VOID
DisplayCommandHelp (
UINT iFirstLine,
UINT iLastLine
);
VOID
DisplaySummary (
LPTSTR lpLastID,
LPTSTR lpLastText,
UINT NumOfID
);
VOID
DisplaySummaryError (
LPTSTR lpLastID,
LPTSTR lpLastText,
UINT NumOfID
);
#endif // _COMMON_H_