home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: Win Best Test 1
/
70001.ZIP
/
70001
/
WINWARE1
/
ARCDIB
/
YOURCOMP.C
< prev
next >
Wrap
Text File
|
1993-09-26
|
957b
|
35 lines
/*
* Standard example shell for C Windows DLL.
*
* Link with your C routines to perform the compression.
*
* The main routine should be prototyped as:
*
* BOOL far PASCAL _export MyComp(HANDLE IMAGEHANDLE,
* DWORD &ORIGSIZE,
* BOOL COMPRESS);
*
* See the TPW example YourComp.pas for further guidance.
*
* Don't forget about the YourComp.def file in you project.
*/
#include <windows.h>
// Turn off warning: Parameter '' is never used
#pragma argsused
// Every DLL has an entry point LibMain and an exit point WEP.
int FAR PASCAL LibMain( HANDLE hInstance, WORD wDataSegment,
WORD wHeapSize, LPSTR lpszCmdLine )
{
return 1; // Indicate that the DLL was initialized successfully.
}
int FAR PASCAL WEP ( int bSystemExit )
{
return 1; // Indicate that the DLL was exited successfully.
}