home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Desktop Works 1995 - 1996
/
desktopworks1995-1996.iso
/
scrnsave
/
sperm
/
sperm.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-01-01
|
1KB
|
49 lines
//
// SPERM.H - general header file for the swimming sperm SPX library
//
// Version 1.0 12/18/92 Copyright (C) 1992 Hutchins Software
// Author: Edward Hutchins
// Revisions:
//
#ifndef RC_INVOKED
#include <winext.h>
//
// typedefs and defines
//
// maximum sperm nSpermCnt
#define SPERM_MAX 200
typedef enum { TRI_FALSE, TRI_TRUE, TRI_UNSET } TRI;
pointerdef( TRI );
//
// prototypes
//
// sperm.c
BOOL FAR PASCAL EXPORT LibMain( HANDLE hInstance, WORD wDataSeg, WORD wHeapSize, LPSTR szCmdLine );
VOID FAR PASCAL EXPORT WEP( BOOL bSystemExit );
LPSTR FAR PASCAL EXPORT SaverInit( LPBOOL lpbEnabled );
BOOL FAR PASCAL EXPORT SaverDlgProc( HWND hdlg, WORD mess, WORD wP, LONG lP );
// spermplt.c
VOID FAR PASCAL EXPORT SaverDraw( HWND hwnd, HDC hdc, HANDLE hinst, BOOL (FAR PASCAL *lpfnYield)( VOID ) );
#endif // RC_INVOKED
//
// resource defines
//
#define IDI_SPERM 10
#define IDD_SAVERDLG 100 // not used => "DIALOGBOX" is the name
#define IDD_S_SPERMCNT 101
#define IDD_S_ENABLE 102
#define IDD_S_BLANK 103