- Fix packing for system restore point API types (STATEMGRSTATUS in particular). Fixes VC++ 2012 redist installer.
CORE-8010 #resolve

svn path=/trunk/; revision=66352
This commit is contained in:
Thomas Faber 2015-02-19 15:42:33 +00:00
parent c845f97fbf
commit 888d828ea7

View file

@ -39,6 +39,8 @@ extern "C" {
/* Types */
#pragma pack(push, 1)
typedef struct _RESTOREPTINFOA {
DWORD dwEventType;
DWORD dwRestorePtType;
@ -47,10 +49,10 @@ typedef struct _RESTOREPTINFOA {
} 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 @@ typedef struct _SMGRSTATUS {
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