- Code/Resource
- Windows Develop
- Linux-Unix program
- Internet-Socket-Network
- Web Server
- Browser Client
- Ftp Server
- Ftp Client
- Browser Plugins
- Proxy Server
- Email Server
- Email Client
- WEB Mail
- Firewall-Security
- Telnet Server
- Telnet Client
- ICQ-IM-Chat
- Search Engine
- Sniffer Package capture
- Remote Control
- xml-soap-webservice
- P2P
- WEB(ASP,PHP,...)
- TCP/IP Stack
- SNMP
- Grid Computing
- SilverLight
- DNS
- Cluster Service
- Network Security
- Communication-Mobile
- Game Program
- Editor
- Multimedia program
- Graph program
- Compiler program
- Compress-Decompress algrithms
- Crypt_Decrypt algrithms
- Mathimatics-Numerical algorithms
- MultiLanguage
- Disk/Storage
- Java Develop
- assembly language
- Applications
- Other systems
- Database system
- Embeded-SCM Develop
- FlashMX/Flex
- source in ebook
- Delphi VCL
- OS Develop
- MiddleWare
- MPI
- MacOS develop
- LabView
- ELanguage
- Software/Tools
- E-Books
- Artical/Document
NHELLO_S.C
Package: MSDN_VC98.zip [view]
Upload User: bangxh
Upload Date: 2007-01-31
Package Size: 42235k
Code Size: 5k
Category:
Windows Develop
Development Platform:
Visual C++
- /* this ALWAYS GENERATED file contains the RPC server stubs */
- /* File created by MIDL compiler version 3.03.0110 */
- /* at Mon Mar 30 03:08:16 1998
- */
- /* Compiler settings for nhello.idl:
- Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
- error checks: none
- */
- //@@MIDL_FILE_HEADING( )
- #include <string.h>
- #include "nhello.h"
- #define TYPE_FORMAT_STRING_SIZE 5
- #define PROC_FORMAT_STRING_SIZE 13
- typedef struct _MIDL_TYPE_FORMAT_STRING
- {
- short Pad;
- unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
- } MIDL_TYPE_FORMAT_STRING;
- typedef struct _MIDL_PROC_FORMAT_STRING
- {
- short Pad;
- unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
- } MIDL_PROC_FORMAT_STRING;
- extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
- extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
- /* Standard interface: nhello, ver. 1.0,
- GUID={0x5D6E4DA0,0x0D21,0x1068,{0x94,0xB1,0x00,0xDD,0x01,0x06,0x62,0xDA}} */
- extern RPC_DISPATCH_TABLE nhello_v1_0_DispatchTable;
- static const RPC_SERVER_INTERFACE nhello___RpcServerInterface =
- {
- sizeof(RPC_SERVER_INTERFACE),
- {{0x5D6E4DA0,0x0D21,0x1068,{0x94,0xB1,0x00,0xDD,0x01,0x06,0x62,0xDA}},{1,0}},
- {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
- &nhello_v1_0_DispatchTable,
- 0,
- 0,
- 0,
- 0,
- 0
- };
- RPC_IF_HANDLE nhello_v1_0_s_ifspec = (RPC_IF_HANDLE)& nhello___RpcServerInterface;
- extern const MIDL_STUB_DESC nhello_StubDesc;
- void __RPC_STUB
- nhello_HelloProc(
- PRPC_MESSAGE _pRpcMessage )
- {
- MIDL_STUB_MESSAGE _StubMsg;
- handle_t nBinding;
- unsigned char __RPC_FAR *pszString;
- RPC_STATUS _Status;
- ((void)(_Status));
- NdrServerInitializeNew(
- _pRpcMessage,
- &_StubMsg,
- &nhello_StubDesc);
- nBinding = _pRpcMessage->Handle;
- ( unsigned char __RPC_FAR * )pszString = 0;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
- NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
- (unsigned char __RPC_FAR * __RPC_FAR *)&pszString,
- (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[2],
- (unsigned char)0 );
- HelloProc(nBinding,pszString);
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
- }
- void __RPC_STUB
- nhello_Shutdown(
- PRPC_MESSAGE _pRpcMessage )
- {
- MIDL_STUB_MESSAGE _StubMsg;
- handle_t nBinding;
- RPC_STATUS _Status;
- ((void)(_Status));
- NdrServerInitializeNew(
- _pRpcMessage,
- &_StubMsg,
- &nhello_StubDesc);
- nBinding = _pRpcMessage->Handle;
- RpcTryFinally
- {
- if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
- NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[8] );
- Shutdown(nBinding);
- }
- RpcFinally
- {
- }
- RpcEndFinally
- _pRpcMessage->BufferLength =
- (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
- }
- static const MIDL_STUB_DESC nhello_StubDesc =
- {
- (void __RPC_FAR *)& nhello___RpcServerInterface,
- MIDL_user_allocate,
- MIDL_user_free,
- 0,
- 0,
- 0,
- 0,
- 0,
- __MIDL_TypeFormatString.Format,
- 0, /* -error bounds_check flag */
- 0x10001, /* Ndr library version */
- 0,
- 0x303006e, /* MIDL Version 3.3.110 */
- 0,
- 0,
- 0, /* Reserved1 */
- 0, /* Reserved2 */
- 0, /* Reserved3 */
- 0, /* Reserved4 */
- 0 /* Reserved5 */
- };
- static RPC_DISPATCH_FUNCTION nhello_table[] =
- {
- nhello_HelloProc,
- nhello_Shutdown,
- 0
- };
- RPC_DISPATCH_TABLE nhello_v1_0_DispatchTable =
- {
- 2,
- nhello_table
- };
- #if !defined(__RPC_WIN32__)
- #error Invalid build platform for this stub.
- #endif
- static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
- {
- 0,
- {
- 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0xf, /* FC_IGNORE */
- /* 2 */
- 0x4d, /* FC_IN_PARAM */
- #ifndef _ALPHA_
- 0x1, /* x86, MIPS & PPC Stack size = 1 */
- #else
- 0x2, /* Alpha Stack size = 2 */
- #endif
- /* 4 */ NdrFcShort( 0x0 ), /* Type Offset=0 */
- /* 6 */ 0x5b, /* FC_END */
- 0x5c, /* FC_PAD */
- /* 8 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
- 0xf, /* FC_IGNORE */
- /* 10 */ 0x5b, /* FC_END */
- 0x5c, /* FC_PAD */
- 0x0
- }
- };
- static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
- {
- 0,
- {
- 0x11, 0x8, /* FC_RP [simple_pointer] */
- /* 2 */
- 0x22, /* FC_C_CSTRING */
- 0x5c, /* FC_PAD */
- 0x0
- }
- };