home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
netds
/
rpc
/
yield
/
yieldc.def
< prev
next >
Wrap
Text File
|
1995-11-14
|
1KB
|
32 lines
; module-definition file for generic -- used by LINK.EXE
NAME Client ; application's module name
DESCRIPTION 'Sample Microsoft Windows RPC Application'
EXETYPE WINDOWS ; required for all Windows applications
STUB 'WINSTUB.EXE' ; Generates error message if application
; is run without Windows
;CODE can be moved in memory and discarded/reloaded
CODE PRELOAD MOVEABLE DISCARDABLE
;DATA must be MULTIPLE if program can be invoked more than once
DATA PRELOAD MOVEABLE MULTIPLE
HEAPSIZE 1024
STACKSIZE 5120 ; recommended minimum for Windows applications
; All functions that will be called by any Windows routine
; MUST be exported.
EXPORTS
MainWndProc @1 ; name of window processing function
About @2 ; name of "About" processing function
GetBindInfo @3 ; name of "GetBindInfo" processing function
GetWaitInfo @4 ; name of "Wait" processing function
GetYieldInfo @5 ; name of "Yield" processing function
CustomYield @6 ; parameter to RpcSetYieldInfo