Source code of Windows XP (NT5)
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.

50 lines
893 B

  1. /*++
  2. (C) Copyright Microsoft Corporation 1988-1992
  3. Module Name:
  4. resonexe.h
  5. Author:
  6. Floyd A Rogers 2/7/92
  7. Revision History:
  8. 2/7/92 floydr
  9. Created
  10. --*/
  11. #include <common.h>
  12. /* Global externs */
  13. extern PUCHAR szInFile;
  14. extern BOOL fDebug;
  15. extern BOOL fVerbose;
  16. extern BOOL fUnicode;
  17. /* functions in main.c */
  18. void __cdecl main(int argc, char *argv[]);
  19. PUCHAR MyAlloc( ULONG nbytes );
  20. PUCHAR MyReAlloc(char *p, ULONG nbytes );
  21. PUCHAR MyFree( PUCHAR );
  22. ULONG MyRead( int fh, PUCHAR p, ULONG n );
  23. LONG MyTell( int fh );
  24. LONG MySeek( int fh, long pos, int cmd );
  25. ULONG MoveFilePos( int fh, ULONG pos);
  26. ULONG MyWrite( int fh, PUCHAR p, ULONG n );
  27. void eprintf( PUCHAR s);
  28. void pehdr(void);
  29. int fcopy (char *, char *);
  30. /* functions in read.c */
  31. BOOL
  32. ReadRes(
  33. IN int fhIn,
  34. IN ULONG cbInFile,
  35. IN HANDLE hupd
  36. );