File:  [WindowsNT SDKs] / mstools / samples / sdktools / rshell / server / rcmdsrv.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:24:28 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

/****************************** Module Header ******************************\
* Module Name: rcmdsrv.h
*
* Copyright (c) 1991, Microsoft Corporation
*
* Main include file for remote shell server
*
* History:
* 06-28-92 Davidc       Created.
\***************************************************************************/

#define UNICODE

#include <windows.h>
#include <stdio.h>
#include <assert.h>

//
// Macros
//

#define MyCloseHandle(Handle, handle_name) \
        if (CloseHandle(Handle) == FALSE) { \
            printf("Close Handle failed for <%s>, error = %d\n", handle_name, GetLastError()); \
            assert(FALSE); \
        }

#define Alloc(Bytes)            LocalAlloc(LPTR, Bytes)
#define Free(p)                 LocalFree(p)

// #define DbgPrint    printf
#define DbgPrint

//
// Module header files
//

#include "session.h"
#include "async.h"
#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.