source: trunk/dll/wrappers.h@ 1330

Last change on this file since 1330 was 1327, checked in by Steven Levine, 17 years ago

Add missing OS2_INCLUDED check

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1
2/***********************************************************************
3
4 $Id: wrappers.h 1327 2008-12-09 04:02:12Z stevenhl $
5
6 Wrappers with error checking
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008 Steven H. Levine
10
11 08 Dec 08 SHL Add missing OS2_INCLUDED check
12
13***********************************************************************/
14
15#if !defined(WRAPPERS_H)
16#define WRAPPERS_H
17
18#if !defined(OS2_INCLUDED)
19#include <os2.h>
20#endif
21
22APIRET xDosFindFirst(PSZ pszFileSpec,
23 PHDIR phdir,
24 ULONG flAttribute,
25 PVOID pfindbuf,
26 ULONG cbBuf,
27 PULONG pcFileNames,
28 ULONG ulInfoLevel);
29APIRET xDosFindNext(HDIR hDir,
30 PVOID pfindbuf,
31 ULONG cbfindbuf,
32 PULONG pcFilenames,
33 ULONG ulInfoLevel); // 06 Oct 07 SHL Added
34APIRET xDosSetPathInfo(PSZ pszPathName,
35 ULONG ulInfoLevel,
36 PVOID pInfoBuf,
37 ULONG cbInfoBuf,
38 ULONG flOptions);
39PSZ xfgets(PSZ pszBuf, size_t cMaxBytes, FILE * fp, PCSZ pszSrcFile,
40 UINT uiLineNumber);
41PSZ xfgets_bstripcr(PSZ pszBuf, size_t cMaxBytes, FILE * fp, PCSZ pszSrcFile,
42 UINT uiLineNumber);
43FILE *xfopen(PCSZ pszFileName, PCSZ pszMode, PCSZ pszSrcFile,
44 UINT uiLineNumber);
45VOID xfree(PVOID pv, PCSZ pszSrcFile, UINT uiLineNumber);
46FILE *xfsopen(PCSZ pszFileName, PCSZ pszMode, INT fSharemode, PCSZ pszSrcFile,
47 UINT uiLineNumber);
48PVOID xmalloc(size_t cBytes, PCSZ pszSrcFile, UINT uiLineNumber);
49PVOID xmallocz(size_t cBytes, PCSZ pszSrcFile, UINT uiLineNumber);
50PVOID xrealloc(PVOID pvIn, size_t cBytes, PCSZ pszSrcFile, UINT uiLineNumber);
51PVOID xstrdup(PCSZ pszIn, PCSZ pszSrcFile, UINT uiLineNumber);
52
53// Data declarations
54extern BOOL fNoLargeFileSupport;
55
56#endif // WRAPPERS_H
Note: See TracBrowser for help on using the repository browser.