Annotation of mstools/h/rpcndr.h, revision 1.1

1.1     ! root        1: /*********************************************************/
        !             2: /**               Microsoft LAN Manager                 **/
        !             3: /**       Copyright(c) Microsoft Corp., 1987-1990       **/
        !             4: /**                                                     **/
        !             5: /**      context management API's used by the stubs     **/
        !             6: /**                                                     **/
        !             7: /*********************************************************/
        !             8: 
        !             9: #ifndef __RPCNDR_H__
        !            10: #define __RPCNDR_H__
        !            11: 
        !            12: /* Client and Server Contexts.  Just enough of the structure is exposed
        !            13: to allow access to some public fields
        !            14: */
        !            15: 
        !            16: typedef struct {RPC_HANDLE hRPC;} PAPI * NDR_CCONTEXT;
        !            17: typedef struct {void * pad[2]; void * userContext; } * NDR_SCONTEXT;
        !            18: 
        !            19: #define NDRSContextValue(hContext) (&(hContext)->userContext)
        !            20: #define NDRCContextBinding(hContext) ((hContext)->hRPC)
        !            21: 
        !            22: #define cbNDRContext 20         /* size of context on WIRE */
        !            23: 
        !            24: typedef void (*NDR_RUNDOWN)(void * context);
        !            25: 
        !            26: void RPC_ENTRY
        !            27: NDRCContextMarshall (
        !            28:         IN  NDR_CCONTEXT CContext,
        !            29:         OUT void PAPI *pBuff
        !            30:         );
        !            31: 
        !            32: void RPC_ENTRY
        !            33: NDRCContextUnmarshall (
        !            34:         OUT NDR_CCONTEXT PAPI *pCContext,
        !            35:         IN  RPC_HANDLE hBinding,
        !            36:         IN  void PAPI *pBuff,
        !            37:        IN  unsigned long DataRepresentation
        !            38:         );
        !            39: 
        !            40: void RPC_ENTRY
        !            41: NDRSContextMarshall (
        !            42:         IN  NDR_SCONTEXT CContext,
        !            43:         OUT void PAPI *pBuff,
        !            44:         IN  NDR_RUNDOWN userRunDownIn
        !            45:         );
        !            46: 
        !            47: NDR_SCONTEXT RPC_ENTRY
        !            48: NDRSContextUnmarshall (
        !            49:        IN  void PAPI *pBuff,
        !            50:        IN  unsigned long DataRepresentation
        !            51:         );
        !            52: 
        !            53: void RPC_ENTRY
        !            54: NDRcopy (
        !            55:        IN void PAPI *pTarget,
        !            56:        IN void PAPI *pSource,
        !            57:        IN unsigned int size
        !            58:         );
        !            59: 
        !            60: #endif // __RPCNDR_H__

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.