windows-nt/Source/XPSP1/NT/sdktools/restools/resonexe/resonexe.h

51 lines
893 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
(C) Copyright Microsoft Corporation 1988-1992
Module Name:
resonexe.h
Author:
Floyd A Rogers 2/7/92
Revision History:
2/7/92 floydr
Created
--*/
#include <common.h>
/* Global externs */
extern PUCHAR szInFile;
extern BOOL fDebug;
extern BOOL fVerbose;
extern BOOL fUnicode;
/* functions in main.c */
void __cdecl main(int argc, char *argv[]);
PUCHAR MyAlloc( ULONG nbytes );
PUCHAR MyReAlloc(char *p, ULONG nbytes );
PUCHAR MyFree( PUCHAR );
ULONG MyRead( int fh, PUCHAR p, ULONG n );
LONG MyTell( int fh );
LONG MySeek( int fh, long pos, int cmd );
ULONG MoveFilePos( int fh, ULONG pos);
ULONG MyWrite( int fh, PUCHAR p, ULONG n );
void eprintf( PUCHAR s);
void pehdr(void);
int fcopy (char *, char *);
/* functions in read.c */
BOOL
ReadRes(
IN int fhIn,
IN ULONG cbInFile,
IN HANDLE hupd
);