[KMTYPES]
[reactos.git] / include / psdk / ktmtypes.h
index f498c0a..b687a56 100644 (file)
 #define MAX_TRANSACTION_DESCRIPTION_LENGTH  64
 #define MAX_RESOURCEMANAGER_DESCRIPTION_LENGTH  64
 
+/* HACK: GCC does not like class members of the same name */
+#ifdef _MSC_VER
 typedef GUID UOW, *PUOW;
+#endif
+
 typedef GUID CRM_PROTOCOL_ID, *PCRM_PROTOCOL_ID;
 typedef ULONG NOTIFICATION_MASK;
 typedef ULONG SAVEPOINT_ID, *PSAVEPOINT_ID;
@@ -86,7 +90,7 @@ typedef struct _TRANSACTION_NOTIFICATION {
 
 typedef struct _TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT {
   GUID EnlistmentId;
-  UOW UOW;
+  GUID UOW;
 } TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT, *PTRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT;
 
 typedef struct _TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT {
@@ -119,7 +123,7 @@ typedef struct _KCRM_MARSHAL_HEADER {
 } KCRM_MARSHAL_HEADER, *PKCRM_MARSHAL_HEADER, *RESTRICTED_POINTER PRKCRM_MARSHAL_HEADER;
 
 typedef struct _KCRM_TRANSACTION_BLOB {
-  UOW UOW;
+  GUID UOW;
   GUID TmIdentity;
   ULONG IsolationLevel;
   ULONG IsolationFlags;