Click to open or copy the files for the UsrDef sample.
This sample demonstrates the use of user-defined handles.
Main Files
File | Description |
Readme.txt | Readme file for the USRDEF sample |
Usrdef.idl | Interface definition language file |
Usrdef.acf | Attribute configuration file |
Usrdefc.c | Client main program |
Usrdefs.c | Server main program |
Usrdefp.c | Remote procedures |
Makefile | Nmake file to build for Windows NT or Windows 95 |
Makefile.dos | Nmake file to build for MS-DOS |
This sample uses the following keywords:
atoi; data_handle_type_bind; data_handle_type_unbind; defined; exit; fprintf; free; malloc; midl_user_allocate; midl_user_free; ndrclientinitializenew; ndrconformantstringbuffersize; ndrconformantstringmarshall; ndrconformantstringunmarshall; ndrconvert; ndrfcshort; ndrfreebuffer; ndrgetbuffer; ndrpointerfree; ndrsendreceive; ndrserverinitializenew; ndrsimplestructbuffersize; ndrsimplestructmarshall; ndrsimplestructunmarshall; printf; rpcbindingfree; rpcbindingfromstringbinding; rpcmgmtstopserverlistening; rpcmgmtwaitserverlisten; rpcraiseexception; rpcserverlisten; rpcserverregisterif; rpcserverunregisterif; rpcserveruseprotseqep; rpcstringbindingcompose; rpcstringfree; shutdown; tolower; usage; usrdef_shutdown; usrdef_usrdefproc; usrdefproc