62 lines
2 KiB
C
62 lines
2 KiB
C
//--------------------------------------------------------------------
|
|
// Copyright (C)1998 Microsoft Corporation, All Rights Reserved
|
|
//
|
|
// registry.h
|
|
//
|
|
// Constants for registration of the ncacn_http RpcProxy with
|
|
// the registry and IIS MetaBase.
|
|
//
|
|
//
|
|
//--------------------------------------------------------------------
|
|
|
|
|
|
#ifndef _MBASE_H_
|
|
#define _MBASE_H_
|
|
|
|
//--------------------------------------------------------------------
|
|
// Registry constants:
|
|
//--------------------------------------------------------------------
|
|
|
|
#ifdef DBG
|
|
#define DBG_REG
|
|
#endif
|
|
|
|
#define MAX_TCPIP_HOST_NAME 512
|
|
|
|
#define REG_RPC_PATH TEXT("Software\\Microsoft\\Rpc")
|
|
#define REG_RPCPROXY TEXT("RpcProxy")
|
|
#define REG_ENABLED TEXT("Enabled")
|
|
#define REG_VALID_PORTS TEXT("ValidPorts")
|
|
#define REG_PORT_RANGE TEXT(":100-5000")
|
|
|
|
//--------------------------------------------------------------------
|
|
// MetaBase constants:
|
|
//--------------------------------------------------------------------
|
|
#define ORIGINAL_BUFFER_SIZE 512
|
|
|
|
#define SYSTEM_ROOT TEXT("SystemRoot")
|
|
#define RPCPROXY_PATH TEXT("\\System32\\RpcProxy")
|
|
|
|
#define RPCPROXY TEXT("RpcProxy")
|
|
#define RPCPROXY_DLL TEXT("RpcProxy.dll")
|
|
|
|
#define LOCAL_MACHINE_W3SVC TEXT("/LM/W3SVC")
|
|
#define APP_ROOT_PATH TEXT("/LM/W3SVC/1/Root/rpc")
|
|
#define APP_FRIENDLY_NAME TEXT("rpc")
|
|
#define APP_WAM_CLSID TEXT("{BF285648-0C5C-11D2-A476-0000F8080B50}")
|
|
|
|
#define IISFILTER TEXT("IIsFilter")
|
|
#define FILTER_DESCRIPTION TEXT("Microsoft RPC Proxy Filter, v1.0")
|
|
|
|
#define IIS_WEB_VIRTUAL_DIR TEXT("IIsWebVirtualDir")
|
|
|
|
#define MD_KEY_FILTERS TEXT("Filters")
|
|
#define MD_KEY_FILTERS_RPCPROXY TEXT("Filters/RpcProxy")
|
|
#define MD_KEY_ROOT_RPC TEXT("1/ROOT/Rpc")
|
|
|
|
#define ACCESS_PERM_FLAGS MD_ACCESS_EXECUTE
|
|
#define DIRECTORY_BROWSING_FLAGS 0x4000001E
|
|
|
|
#endif //_MBASE_H_
|
|
|