From b78cdcabbdeacbf6856456405d56cb848eee597b Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Fri, 5 May 2006 17:46:05 +0000 Subject: [PATCH] Move OBJ_NAME_PATH_SEPARATOR to ndk/obtypes.h (inspired by w3seek). Should make applying NDK patch easier. svn path=/trunk/; revision=21807 --- reactos/dll/win32/ws2help/ws2help.h | 3 --- reactos/dll/win32/wshirda/wshirda.h | 3 --- reactos/drivers/network/wshtcpip/wshtcpip.h | 2 -- reactos/include/ndk/obtypes.h | 5 +++++ 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/reactos/dll/win32/ws2help/ws2help.h b/reactos/dll/win32/ws2help/ws2help.h index 798e3a7530c..e7dc1a58507 100644 --- a/reactos/dll/win32/ws2help/ws2help.h +++ b/reactos/dll/win32/ws2help/ws2help.h @@ -16,9 +16,6 @@ #define EXPORT STDCALL -#define OBJ_NAME_PATH_SEPARATOR ((WCHAR)L'\\') - - #endif /* __WS2HELP_H */ /* EOF */ diff --git a/reactos/dll/win32/wshirda/wshirda.h b/reactos/dll/win32/wshirda/wshirda.h index 60ab3d6f81d..b4f8de66dd4 100644 --- a/reactos/dll/win32/wshirda/wshirda.h +++ b/reactos/dll/win32/wshirda/wshirda.h @@ -16,9 +16,6 @@ #define EXPORT STDCALL -#define OBJ_NAME_PATH_SEPARATOR ((WCHAR)L'\\') - - #endif /* __WSHIRDA_H */ /* EOF */ diff --git a/reactos/drivers/network/wshtcpip/wshtcpip.h b/reactos/drivers/network/wshtcpip/wshtcpip.h index 8aeaead4228..77a6fb41319 100644 --- a/reactos/drivers/network/wshtcpip/wshtcpip.h +++ b/reactos/drivers/network/wshtcpip/wshtcpip.h @@ -13,8 +13,6 @@ #define EXPORT STDCALL -#define OBJ_NAME_PATH_SEPARATOR ((WCHAR)L'\\') - #define DD_TCP_DEVICE_NAME L"\\Device\\Tcp" #define DD_UDP_DEVICE_NAME L"\\Device\\Udp" #define DD_RAW_IP_DEVICE_NAME L"\\Device\\RawIp" diff --git a/reactos/include/ndk/obtypes.h b/reactos/include/ndk/obtypes.h index 061d77341ca..e7f1c6e5797 100644 --- a/reactos/include/ndk/obtypes.h +++ b/reactos/include/ndk/obtypes.h @@ -57,6 +57,11 @@ Author: #define DIRECTORY_CREATE_SUBDIRECTORY 0x0008 #define DIRECTORY_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 0xF) +// +// Slash separator used in the OB Namespace (and Registry) +// +#define OBJ_NAME_PATH_SEPARATOR L'\\' + #else //