Author: tfaber
Date: Thu Feb 19 15:42:33 2015
New Revision: 66352
URL:
http://svn.reactos.org/svn/reactos?rev=66352&view=rev
Log:
[PSDK]
- Fix packing for system restore point API types (STATEMGRSTATUS in particular). Fixes
VC++ 2012 redist installer.
CORE-8010 #resolve
Modified:
trunk/reactos/include/psdk/srrestoreptapi.h
Modified: trunk/reactos/include/psdk/srrestoreptapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/srrestoreptap…
==============================================================================
--- trunk/reactos/include/psdk/srrestoreptapi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/srrestoreptapi.h [iso-8859-1] Thu Feb 19 15:42:33 2015
@@ -39,6 +39,8 @@
/* Types */
+#pragma pack(push, 1)
+
typedef struct _RESTOREPTINFOA {
DWORD dwEventType;
DWORD dwRestorePtType;
@@ -47,10 +49,10 @@
} RESTOREPOINTINFOA, *PRESTOREPOINTINFOA;
typedef struct _RESTOREPTINFOW {
- DWORD dwEventType;
- DWORD dwRestorePtType;
- INT64 llSequenceNumber;
- WCHAR szDescription[MAX_DESC_W];
+ DWORD dwEventType;
+ DWORD dwRestorePtType;
+ INT64 llSequenceNumber;
+ WCHAR szDescription[MAX_DESC_W];
} RESTOREPOINTINFOW, *PRESTOREPOINTINFOW;
typedef struct _SMGRSTATUS {
@@ -58,12 +60,14 @@
INT64 llSequenceNumber;
} STATEMGRSTATUS, *PSTATEMGRSTATUS;
+#pragma pack(pop)
+
/* Functions */
BOOL WINAPI SRSetRestorePointA(PRESTOREPOINTINFOA, PSTATEMGRSTATUS);
BOOL WINAPI SRSetRestorePointW(PRESTOREPOINTINFOW, PSTATEMGRSTATUS);
DWORD WINAPI SRRemoveRestorePoint(DWORD);
-
+
#ifdef __cplusplus
}
#endif