Usermode/AxWin3 - Working on IPC, compiles and runs, just nothing happens :)
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / include / ipcmessages.h
index d9d7ee8..29c8b69 100644 (file)
@@ -4,12 +4,16 @@
  *
  * ipcmessages.h
  * - IPC Message format definition
+ * - Shared between library and server
  */
 #ifndef _IPCMESSAGES_H_
 #define _IPCMESSAGES_H_
 
+#include <stdint.h>
+
 typedef struct sAxWin_IPCMessage       tAxWin_IPCMessage;
 typedef struct sIPCMsg_Return  tIPCMsg_Return;
+typedef struct sIPCMsg_CreateWin       tIPCMsg_CreateWin;
 
 /**
  * \name Flags for IPC Messages
@@ -17,6 +21,9 @@ typedef struct sIPCMsg_Return tIPCMsg_Return;
  */
 //! Request a return value
 #define IPCMSG_FLAG_RETURN     0x01
+/**
+ * \}
+ */
 
 struct sAxWin_IPCMessage
 {
@@ -32,11 +39,18 @@ struct sIPCMsg_Return
        uint32_t        Value;
 };
 
+struct sIPCMsg_CreateWin
+{
+       uint32_t        NewWinID;
+       uint32_t        Flags;
+       char    Renderer[];
+};
+
 enum eAxWin_IPCMessageTypes
 {
        IPCMSG_PING,    //!< 
        IPCMSG_SENDMSG, //!< Send a message to another window
+       IPCMSG_CREATEWIN,       //!< Create a window
 };
 
 #endif
-

UCC git Repository :: git.ucc.asn.au