Index: /trunk/include/iprt/shmem.h
===================================================================
--- /trunk/include/iprt/shmem.h	(revision 75882)
+++ /trunk/include/iprt/shmem.h	(revision 75883)
@@ -31,5 +31,9 @@
 RT_C_DECLS_BEGIN
 
-/** Open flags for RTShMemOpen().
+/** @defgroup grp_rt_shmem RTShMem - Shared memory.
+ * @ingroup grp_rt
+ */
+
+/** @name Open flags for RTShMemOpen().
  * @{
  */
@@ -107,5 +111,5 @@
 RTDECL(int) RTShMemQuerySize(RTSHMEM hShMem, size_t *pcbMem);
 
-/** Region mapping flags for RTShMemMapRegion().
+/** @name Region mapping flags for RTShMemMapRegion().
  * @{
  */
@@ -147,4 +151,5 @@
 RTDECL(int) RTShMemUnmapRegion(RTSHMEM hShMem, void *pv);
 
+/** @} */
 RT_C_DECLS_END
 
Index: /trunk/src/VBox/Runtime/r3/posix/shmem-posix.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/posix/shmem-posix.cpp	(revision 75882)
+++ /trunk/src/VBox/Runtime/r3/posix/shmem-posix.cpp	(revision 75883)
@@ -47,9 +47,10 @@
 #include <limits.h>
 
-/** Workaround on systems which do not provide this. */
+/* Workaround on systems which do not provide this. */
 #ifndef NAME_MAX
 # define NAME_MAX 255
 #endif
 
+
 /*********************************************************************************************************************************
 *   Structures and Typedefs                                                                                                      *
@@ -64,5 +65,5 @@
     volatile uint32_t   cMappings;
     /** Pointer to the region mapping. */
-    void                *pvMapping;
+    void               *pvMapping;
     /** Start offset */
     size_t              offRegion;
@@ -85,8 +86,8 @@
     /** Magic value (RTSHMEM_MAGIC). */
     uint32_t            u32Magic;
-    /** Pointer to the shared memory object name. */
-    char                *pszName;
     /** File descriptor for the underlying shared memory object. */
     int                 iFdShm;
+    /** Pointer to the shared memory object name. */
+    char               *pszName;
     /** Flag whether this instance created the named shared memory object. */
     bool                fCreate;
@@ -104,8 +105,4 @@
 
 
-/*********************************************************************************************************************************
-*   Internal Functions                                                                                                           *
-*********************************************************************************************************************************/
-
 
 /**
Index: /trunk/src/VBox/Runtime/r3/win/shmem-win.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/win/shmem-win.cpp	(revision 75882)
+++ /trunk/src/VBox/Runtime/r3/win/shmem-win.cpp	(revision 75883)
@@ -62,4 +62,5 @@
 #endif
 
+
 /*********************************************************************************************************************************
 *   Structures and Typedefs                                                                                                      *
@@ -74,5 +75,5 @@
     volatile uint32_t   cMappings;
     /** Pointer to the region mapping. */
-    void                *pvMapping;
+    void               *pvMapping;
     /** Start offset */
     size_t              offRegion;
@@ -95,8 +96,8 @@
     /** Magic value (RTSHMEM_MAGIC). */
     uint32_t            u32Magic;
+    /** Flag whether this instance created the named shared memory object. */
+    bool                fCreate;
     /** Handle to the underlying mapping object. */
     HANDLE              hShmObj;
-    /** Flag whether this instance created the named shared memory object. */
-    bool                fCreate;
     /** Size of the mapping object in bytes. */
     size_t              cbMax;
@@ -114,7 +115,4 @@
 
 
-/*********************************************************************************************************************************
-*   Internal Functions                                                                                                           *
-*********************************************************************************************************************************/
 
 
