From b8cfafc6b8a02535bad907985619d8cd566ae2c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 11 Aug 2005 21:20:42 +0000 Subject: [PATCH] Add STARTING_LCN_INPUT_BUFFER and VOLUME_BITMAP_BUFFER structures Remove #pragma pack/pop around RETRIEVAL_POINTERS_BUFFER as it should be standard-packed according to Alex. svn path=/trunk/; revision=17317 --- reactos/w32api/include/ddk/ntifs.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/reactos/w32api/include/ddk/ntifs.h b/reactos/w32api/include/ddk/ntifs.h index fff7ac23f3f..8adc075e925 100644 --- a/reactos/w32api/include/ddk/ntifs.h +++ b/reactos/w32api/include/ddk/ntifs.h @@ -1308,7 +1308,6 @@ typedef struct _QUERY_PATH_RESPONSE { ULONG LengthAccepted; } QUERY_PATH_RESPONSE, *PQUERY_PATH_RESPONSE; -#pragma pack(push,8) typedef struct _RETRIEVAL_POINTERS_BUFFER { ULONG ExtentCount; LARGE_INTEGER StartingVcn; @@ -1317,7 +1316,6 @@ typedef struct _RETRIEVAL_POINTERS_BUFFER { LARGE_INTEGER Lcn; } Extents[1]; } RETRIEVAL_POINTERS_BUFFER, *PRETRIEVAL_POINTERS_BUFFER; -#pragma pack(pop) typedef struct _RTL_SPLAY_LINKS { struct _RTL_SPLAY_LINKS *Parent; @@ -1383,6 +1381,11 @@ typedef struct _SE_EXPORTS { } SE_EXPORTS, *PSE_EXPORTS; +typedef struct +{ + LARGE_INTEGER StartingLcn; +} STARTING_LCN_INPUT_BUFFER, *PSTARTING_LCN_INPUT_BUFFER; + typedef struct _STARTING_VCN_INPUT_BUFFER { LARGE_INTEGER StartingVcn; } STARTING_VCN_INPUT_BUFFER, *PSTARTING_VCN_INPUT_BUFFER; @@ -1427,6 +1430,13 @@ typedef struct _VAD_HEADER { LIST_ENTRY Secured; } VAD_HEADER, *PVAD_HEADER; +typedef struct +{ + LARGE_INTEGER StartingLcn; + LARGE_INTEGER BitmapSize; + BYTE Buffer[1]; +} VOLUME_BITMAP_BUFFER, *PVOLUME_BITMAP_BUFFER; + #if (VER_PRODUCTBUILD >= 2600) typedef BOOLEAN