Click to open or copy the files for the CxHndl sample.
This sample demonstrates the use of the context_handle attribute.
Main Files
File | Description |
Readme.txt | Readme file for the CXHNDL sample |
Cxhndl.idl | Interface definition language file |
Cxhndl.acf | Attribute configuration file |
Cxhndlc.c | Client main program |
Cxhndls.c | Server main program |
Cxhndlp.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; cxhndl_remoteclose; cxhndl_remoteopen; cxhndl_remoteread; cxhndl_shutdown; defined; exit; fclose; fopen; fprintf; fread; free; malloc; midl_user_allocate; midl_user_free; ndrccontextbinding; ndrclientcontextmarshall; ndrclientcontextunmarshall; ndrclientinitializenew; ndrconformantstringbuffersize; ndrconformantstringmarshall; ndrconformantstringunmarshall; ndrconvert; ndrfcshort; ndrfixedarraymarshall; ndrfixedarrayunmarshall; ndrfreebuffer; ndrgetbuffer; ndrscontextunmarshall; ndrscontextvalue; ndrsendreceive; ndrservercontextmarshall; ndrservercontextunmarshall; ndrserverinitializenew; pcontext_handle_type_rundown; printf; putchar; remoteclose; remoteopen; remoteread; rpcbindingfree; rpcbindingfromstringbinding; rpcmgmtstopserverlistening; rpcmgmtwaitserverlisten; rpcraiseexception; rpcserverlisten; rpcserverregisterif; rpcserverunregisterif; rpcserveruseprotseqep; rpcstringbindingcompose; rpcstringfree; shutdown; strcpy; tolower; usage