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 >
Text File  |  1995-11-14  |  1KB  |  32 lines

  1. ; module-definition file for generic -- used by LINK.EXE
  2.  
  3. NAME         Client       ; application's module name
  4.  
  5. DESCRIPTION  'Sample Microsoft Windows RPC Application'
  6.  
  7. EXETYPE      WINDOWS       ; required for all Windows applications
  8.  
  9. STUB         'WINSTUB.EXE' ; Generates error message if application
  10.                ; is run without Windows
  11.  
  12. ;CODE can be moved in memory and discarded/reloaded
  13. CODE  PRELOAD MOVEABLE DISCARDABLE
  14.  
  15. ;DATA must be MULTIPLE if program can be invoked more than once
  16. DATA  PRELOAD MOVEABLE MULTIPLE
  17.  
  18. HEAPSIZE     1024
  19. STACKSIZE    5120       ; recommended minimum for Windows applications
  20.  
  21.  
  22. ; All functions that will be called by any Windows routine
  23. ; MUST be exported.
  24.  
  25. EXPORTS
  26.     MainWndProc   @1   ; name of window processing function
  27.     About          @2   ; name of "About" processing function
  28.     GetBindInfo   @3   ; name of "GetBindInfo" processing function
  29.     GetWaitInfo   @4   ; name of "Wait" processing function
  30.     GetYieldInfo  @5   ; name of "Yield" processing function
  31.     CustomYield   @6   ; parameter to RpcSetYieldInfo
  32.