RepAs: represent_as ACF Attribute Sample

Click to open or copy the files for the RepAs sample.

This sample demonstrates the represent_as ACF attribute.

Main Files

File Description
Repas.idl Interface definition language file
Repasc.acf Client version of Attribute configuration file
Repass.acf Server version of Attribute configuration file
Repasc.c Client main program
Repass.c Server main program
Repasp.c Remote procedures
Repascu.c Client Utility functions
Repassu.c Server Utility functions
Makefile Nmake file to build for Windows NT or Windows 95

Building SDK Samples

This sample uses the following keywords:

atoi; char_string_free_inst; char_string_free_local; char_string_from_local; char_string_repasfreeinst; char_string_repasfreelocal; char_string_repastranslatefromlocal; char_string_repastranslatetolocal; char_string_to_local; defined; exit; fprintf; free; malloc; mbstowcs; midl_user_allocate; midl_user_free; modifymystring; modifymywstring; ndrclientinitializenew; ndrconvert; ndrfcshort; ndrfixedarraymarshall; ndrfixedarrayunmarshall; ndrfreebuffer; ndrgetbuffer; ndrpointerfree; ndrsendreceive; ndrserverinitializenew; ndrxmitorrepasmarshall; ndrxmitorrepasunmarshall; printf; repas_modifymystring; repas_modifymywstring; repas_shutdown; rpcbindingfree; rpcbindingfromstringbinding; rpcexcept; rpcexceptioncode; rpcmgmtstopserverlistening; rpcmgmtwaitserverlisten; rpcraiseexception; rpcserverlisten; rpcserverregisterif; rpcserverunregisterif; rpcserveruseprotseqep; rpcstringbindingcompose; rpcstringfree; shutdown; strcpy; tolower; usage; wchar_string_free_inst; wchar_string_free_local; wchar_string_from_local; wchar_string_repasfreeinst; wchar_string_repasfreelocal; wchar_string_repastranslatefromlocal; wchar_string_repastranslatetolocal; wchar_string_to_local; wcscpy; wcstombs; wprintf