25 lines
771 B
C
25 lines
771 B
C
/*************************************************************************\
|
|
* w32sys.h
|
|
*
|
|
* Win32S i/f
|
|
*
|
|
* 11-18-91 AviN Created
|
|
\*************************************************************************/
|
|
|
|
#ifndef APIENTRY
|
|
#define APIENTRY _far _pascal _loadds
|
|
#endif
|
|
|
|
HANDLE APIENTRY GetPEResourceTable(WORD hFile);
|
|
HANDLE APIENTRY LoadPEResource(HANDLE hFile, LPSTR lpResTable, LPSTR lpId, LPSTR lpType);
|
|
WORD APIENTRY GetW32SysVersion(VOID);
|
|
BOOL APIENTRY GetPEExeInfo(LPSTR lpFileName, LPSTR lpBuff, WORD cbBuff, WORD iInfo);
|
|
WORD APIENTRY ExecPE(LPSTR lpPath, LPSTR lpCmd, WORD nCmdShow);
|
|
BOOL APIENTRY IsPEFormat(LPSTR lpFileName, WORD hFile);
|
|
|
|
/*
|
|
* Constants for GetPEExeInfo iInfo parameter
|
|
*/
|
|
#define GPEI_MODNAME 1
|
|
#define GPEI_DESCRIPTION 2
|