diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 22:42:25 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 22:42:25 +0000 |
commit | 27d753ac9ecc5afa4e49214e486d5dfbb50ce588 (patch) | |
tree | 58a3bdc2b415c6d99fe7431a7535927d84074d86 /sandbox/tools | |
parent | 34f993563386ad569f3674d157153e697e847e0a (diff) | |
download | chromium_src-27d753ac9ecc5afa4e49214e486d5dfbb50ce588.zip chromium_src-27d753ac9ecc5afa4e49214e486d5dfbb50ce588.tar.gz chromium_src-27d753ac9ecc5afa4e49214e486d5dfbb50ce588.tar.bz2 |
Fix the POC and some of unit tests to be build and
run correctly in 64 bit.
BUG=27218
Review URL: http://codereview.chromium.org/1168002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/tools')
-rw-r--r-- | sandbox/tools/finder/ntundoc.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sandbox/tools/finder/ntundoc.h b/sandbox/tools/finder/ntundoc.h index 7b5bdff..19dd386 100644 --- a/sandbox/tools/finder/ntundoc.h +++ b/sandbox/tools/finder/ntundoc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -108,10 +108,12 @@ typedef enum _SYSTEM_INFORMATION_CLASS { SystemHandleInformation = 16 } SYSTEM_INFORMATION_CLASS; -typedef struct -{ - NTSTATUS Status; - ULONG Information; +typedef struct _IO_STATUS_BLOCK { + union { + NTSTATUS Status; + PVOID Pointer; + }; + ULONG_PTR Information; } IO_STATUS_BLOCK, *PIO_STATUS_BLOCK; #define InitializeObjectAttributes( p, n, a, r, s ) { \ |