Annotation of mstools/samples/sdktools/rshell/server/rcmdsrv.h, revision 1.1

1.1     ! root        1: /****************************** Module Header ******************************\
        !             2: * Module Name: rcmdsrv.h
        !             3: *
        !             4: * Copyright (c) 1991, Microsoft Corporation
        !             5: *
        !             6: * Main include file for remote shell server
        !             7: *
        !             8: * History:
        !             9: * 06-28-92 Davidc       Created.
        !            10: \***************************************************************************/
        !            11: 
        !            12: #define UNICODE
        !            13: 
        !            14: #include <windows.h>
        !            15: #include <stdio.h>
        !            16: #include <assert.h>
        !            17: 
        !            18: //
        !            19: // Macros
        !            20: //
        !            21: 
        !            22: #define MyCloseHandle(Handle, handle_name) \
        !            23:         if (CloseHandle(Handle) == FALSE) { \
        !            24:             printf("Close Handle failed for <%s>, error = %d\n", handle_name, GetLastError()); \
        !            25:             assert(FALSE); \
        !            26:         }
        !            27: 
        !            28: #define Alloc(Bytes)            LocalAlloc(LPTR, Bytes)
        !            29: #define Free(p)                 LocalFree(p)
        !            30: 
        !            31: // #define DbgPrint    printf
        !            32: #define DbgPrint
        !            33: 
        !            34: //
        !            35: // Module header files
        !            36: //
        !            37: 
        !            38: #include "session.h"
        !            39: #include "async.h"
        !            40: #include "pipe.h"

unix.superglobalmegacorp.com

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