mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 11:03:49 +00:00
[PSDK]
Merge 47681 and 47682 from header branch - Add missing file headers - Fix defintition of POINTER_64 - by Amine Khaldi svn path=/trunk/; revision=47697
This commit is contained in:
parent
883961ce2c
commit
74e0c79a8d
11 changed files with 113 additions and 9 deletions
|
@ -15,6 +15,32 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1300)
|
||||
#error Old MSVC compiler version.
|
||||
#endif
|
||||
|
||||
#ifdef _MAC
|
||||
#error Not supported.
|
||||
#endif
|
||||
|
||||
#if !defined(MIDL_PASS) && !defined(RC_INVOKED)
|
||||
#define POINTER_64 __ptr64
|
||||
#if defined(_WIN64)
|
||||
#define POINTER_32 __ptr32
|
||||
#else
|
||||
#define POINTER_32
|
||||
#endif
|
||||
#else
|
||||
#define POINTER_64
|
||||
#define POINTER_32
|
||||
#endif /* !defined(MIDL_PASS) && !defined(RC_INVOKED) */
|
||||
|
||||
#if defined(_M_MRX000) || defined(_M_AMD64) || defined(_M_IA64)
|
||||
typedef unsigned __int64 POINTER_64_INT;
|
||||
#else
|
||||
typedef unsigned long POINTER_64_INT;
|
||||
#endif
|
||||
|
||||
#if defined(_WIN64)
|
||||
#define __int3264 __int64
|
||||
#define ADDRESS_TAG_BIT 0x40000000000UI64
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
typedef unsigned long POINTER_64; // FIXME! HACK!!!
|
||||
|
||||
/* Pseudo Modifiers for Input Parameters */
|
||||
|
||||
#ifndef IN
|
||||
|
|
|
@ -1,6 +1,26 @@
|
|||
/*
|
||||
* usb.h
|
||||
*
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/* Helper macro to enable gcc's extension. */
|
||||
/* Helper macro to enable gcc's extension. */
|
||||
#ifndef __GNU_EXTENSION
|
||||
#ifdef __GNUC__
|
||||
#define __GNU_EXTENSION __extension__
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* USB 1.0 support
|
||||
*
|
||||
* This file is part of the w32api package.
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
|
|
@ -1,6 +1,26 @@
|
|||
/*
|
||||
* usb200.h
|
||||
*
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Magnus Olsen.
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/* Helper macro to enable gcc's extension. */
|
||||
/* Helper macro to enable gcc's extension. */
|
||||
#ifndef __GNU_EXTENSION
|
||||
#ifdef __GNUC__
|
||||
#define __GNU_EXTENSION __extension__
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* USB Camera driver interface.
|
||||
*
|
||||
* This file is part of the w32api package.
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* FIXME : Obsolete header.. Use usb.h instead.
|
||||
*
|
||||
* This file is part of the w32api package.
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* USB IOCTL interface.
|
||||
*
|
||||
* This file is part of the w32api package.
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
|
|
@ -1,3 +1,23 @@
|
|||
/*
|
||||
* usbiodef.h
|
||||
*
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define USB_SUBMIT_URB 0
|
||||
|
|
|
@ -1,3 +1,23 @@
|
|||
/*
|
||||
* usbrpmif.h
|
||||
*
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Amine Khaldi <amine.khaldi@reactos.org>
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "windef.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* USB user mode IOCTL interface
|
||||
*
|
||||
* This file is part of the w32api package.
|
||||
* This file is part of the ReactOS PSDK package.
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue