sm namespace macros Modified: trunk/reactos/include/sm/api.h Modified: trunk/reactos/include/sm/helper.h Added: trunk/reactos/include/sm/ns.h _____
Modified: trunk/reactos/include/sm/api.h --- trunk/reactos/include/sm/api.h 2005-02-26 23:18:27 UTC (rev 13759) +++ trunk/reactos/include/sm/api.h 2005-02-26 23:19:56 UTC (rev 13760) @@ -2,9 +2,7 @@
#ifndef __SM_API_H #define __SM_API_H
-#define SM_API_PORT_NAME L"\SmApiPort" -#define SM_DBGSS_PORT_NAME L"\DbgSsApiPort" -#define SM_DBGUI_PORT_NAME L"\DbgUiApiPort" +#include <sm/ns.h>
#pragma pack(push,4)
_____
Modified: trunk/reactos/include/sm/helper.h --- trunk/reactos/include/sm/helper.h 2005-02-26 23:18:27 UTC (rev 13759) +++ trunk/reactos/include/sm/helper.h 2005-02-26 23:19:56 UTC (rev 13760) @@ -1,6 +1,6 @@
-#ifndef INCLUDE_SM_HELPER_H +#if !defined(INCLUDE_SM_HELPER_H) #define INCLUDE_SM_HELPER_H -#define _SM_HELPER_H + /* $Id$ */
/* smdll/connect.c */ _____
Added: trunk/reactos/include/sm/ns.h --- trunk/reactos/include/sm/ns.h 2005-02-26 23:18:27 UTC (rev 13759) +++ trunk/reactos/include/sm/ns.h 2005-02-26 23:19:56 UTC (rev 13760) @@ -0,0 +1,13 @@
+#if !defined(INCLUDE_SM_NS_H) +#define INCLUDE_SM_NS_H + +/* $Id: helper.h 13689 2005-02-20 16:46:10Z ea $ */ + +#define SM_REGISTRY_ROOT_NAME L"\Session Manager" +#define SM_REGISTRY_SUBSYSTEMS_NAME L"SubSystems" + +#define SM_API_PORT_NAME L"\SmApiPort" +#define SM_DBGSS_PORT_NAME L"\DbgSsApiPort" +#define SM_DBGUI_PORT_NAME L"\DbgUiApiPort" + +#endif /* ndef INCLUDE_SM_NS_H */