Click to open or copy the files for the Yield sample.
This sample demonstrates use of the RpcWinSetYieldInfo function to prevent a distributed application from blocking during lengthy remote procedure calls.
Main Files
File | Description |
Yield.idl | Interface definition language file |
Yield.acf | Attribute configuration file |
Yieldc.c | Client main program |
Yieldc.rc | Client resource file |
Yieldc.dlg | Client dialog box definitions |
Yieldc.def | Client module definition file |
Yields.c | Server main program |
Yieldp.c | Remote procedures |
Makefile | Nmake file for Windows NT or Windows 95 |
Makefile.win | Nmake file for Win 3.x |
This sample uses the following keywords:
atoi; bind; checkradiobutton; createwindow; customyield; defined; defwindowproc; destroywindow; dialogbox; dispatchmessage; enddialog; exit; findresource; fprintf; free; freeprocinstance; getbindinfo; getdlgitemint; getdlgitemtext; getmessage; getstockobject; getwaitinfo; getyieldinfo; initapplication; initinstance; loadcursor; loadicon; loadresource; mainwndproc; makeprocinstance; malloc; messagebox; midl_user_allocate; midl_user_free; ndrclientinitializenew; ndrconvert; ndrfreebuffer; ndrgetbuffer; ndrsendreceive; ndrserverinitializenew; postmessage; postquitmessage; printf; registerclass; rpcbindingfree; rpcbindingfromstringbinding; rpcexcept; rpcexceptioncode; rpcmgmtstopserverlistening; rpcmgmtwaitserverlisten; rpcserverlisten; rpcserverregisterif; rpcserverunregisterif; rpcserveruseprotseqep; rpcstringbindingcompose; rpcstringfree; rpcwinsetyieldinfo; senddlgitemmessage; setcursor; setdlgitemint; setdlgitemtext; setwindowtext; showwindow; shutdown; sleep; sprintf; strcpy; switch; tolower; translatemessage; unreferenced_parameter; updatewindow; usage; winmain; yield_shutdown; yield_yieldproc; yieldproc