Leaked source code of windows server 2003
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.

24 lines
830 B

  1. /*************************************************************************\
  2. * w32sys.h
  3. *
  4. * Win32S i/f
  5. *
  6. * Copyright (c) 1991-1994, Microsoft Corp. All rights reserved.
  7. \*************************************************************************/
  8. #ifndef APIENTRY
  9. #define APIENTRY _far _pascal _loadds
  10. #endif
  11. HANDLE APIENTRY GetPEResourceTable(WORD hFile);
  12. HANDLE APIENTRY LoadPEResource(HANDLE hFile, LPSTR lpResTable, LPSTR lpId, LPSTR lpType);
  13. WORD APIENTRY GetW32SysVersion(VOID);
  14. BOOL APIENTRY GetPEExeInfo(LPSTR lpFileName, LPSTR lpBuff, WORD cbBuff, WORD iInfo);
  15. WORD APIENTRY ExecPE(LPSTR lpPath, LPSTR lpCmd, WORD nCmdShow);
  16. BOOL APIENTRY IsPEFormat(LPSTR lpFileName, WORD hFile);
  17. /*
  18. * Constants for GetPEExeInfo iInfo parameter
  19. */
  20. #define GPEI_MODNAME 1
  21. #define GPEI_DESCRIPTION 2