mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 22:55:41 +00:00
- Fix some msvc issues in rostests
svn path=/trunk/; revision=42365
This commit is contained in:
parent
771b93f448
commit
c71617e216
12 changed files with 45 additions and 37 deletions
|
@ -46,6 +46,10 @@ Test_NtGdiCreateDIBSection(PTESTINFO pti)
|
|||
PBITMAPV4HEADER pbV4h = (PBITMAPV4HEADER)&bmi.bmiHeader;
|
||||
PBITMAPV5HEADER pbV5h = (PBITMAPV5HEADER)&bmi.bmiHeader;
|
||||
|
||||
HANDLE hSection;
|
||||
NTSTATUS Status;
|
||||
LARGE_INTEGER MaximumSize;
|
||||
|
||||
hDC = GetDC(0);
|
||||
pbih->biSize = sizeof(BITMAPINFOHEADER);
|
||||
pbih->biWidth = 2;
|
||||
|
@ -441,10 +445,6 @@ printf("dib with bitfileds: %p\n", hbmp);
|
|||
if (hbmp) DeleteObject(hbmp);
|
||||
|
||||
/* Test section */
|
||||
HANDLE hSection;
|
||||
NTSTATUS Status;
|
||||
LARGE_INTEGER MaximumSize;
|
||||
|
||||
MaximumSize.QuadPart = 4096;
|
||||
Status = ZwCreateSection(&hSection,
|
||||
SECTION_ALL_ACCESS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue