[mingw-Bugs-1424461]

*include/imagehlp.h: Comment out IN, OUT and OPTIONAL,
	throughout.
	*include/rpcdce.h: Don't define IN, OUT or OPTIONAL if
	_NO_W32_PSEUDO_MODIFIERS.
	*include/rpcnsi.h: Comment out IN, OUT and OPTIONAL,
	throughout.
	*include/rpcnsip.h: Likewise.
	*include/windef.h: Don't define IN, OUT or OPTIONAL
	if _NO_W32_PSEUDO_MODIFIERS.
	*include/ddk/batclass.h: Comment out IN, OUT and OPTIONAL,
	throughout.
	*include/ddk/cfgmgr32.h: Likewise.
	*include/ddk/ddkmapi.h: Likewise.
	*include/ddk/hidclass.h: Likewise.
	*include/ddk/hidpi.h: Likewise.
	*include/ddk/kbdmou.h: Likewise.
	*include/ddk/mcd.h: Likewise.
	*include/ddk/miniport.h: Likewise.
	*include/ddk/minitape.h: Likewise.
	*include/ddk/ndis.h: Likewise.
	*include/ddk/ndistapi.h: Likewise.
	*include/ddk/ndiswan.h: Likewise.
	*include/ddk/ntapi.h: Likewise.
	*include/ddk/ntdd8042.h: Likewise.
	*include/ddk/ntddpcm.h: Likewise.
	*include/ddk/ntifs.h: Likewise.
	*include/ddk/ntpoapi.h: Likewise.
	*include/ddk/parallel.h: Likewise.
	*include/ddk/pfhook.h: Likewise.
	*include/ddk/scsiwmi.h: Likewise.
	*include/ddk/smbus.h: Likewise.
	*include/ddk/srb.h: Likewise.
	*include/ddk/storport.h: Likewise.
	*include/ddk/tdikrnl.h: Likewise.
	*include/ddk/upssvc.h: Likewise.
	*include/ddk/usbcamdi.h: Likewise.
	*include/ddk/usbscan.h: Likewise.
	*include/ddk/video.h: Likewise.
	*include/ddk/videoagp.h: Likewise.
	*include/ddk/win2k.h: Likewise.
	*include/ddk/winddi.h: Likewise.
	*include/ddk/winddk.h: Don't define IN, OUT or OPTIONAL
	if _NO_W32_PSEUDO_MODIFIERS.
	Comment out IN, OUT and OPTIONAL, throughout.
	*include/ddk/winnt4.h: Comment out IN, OUT and OPTIONAL,
	throughout.
	*include/ddk/ws2san.h: Likewise.
This commit is contained in:
Danny Smith
2006-06-12 00:55:06 +00:00
parent 0a253b906e
commit d73228210d
41 changed files with 8716 additions and 8548 deletions

View File

@@ -187,41 +187,41 @@ typedef struct _BATTERY_WAIT_STATUS {
typedef NTSTATUS DDKAPI
(*BCLASS_DISABLE_STATUS_NOTIFY)(
IN PVOID Context);
/*IN*/ PVOID Context);
typedef NTSTATUS DDKAPI
(*BCLASS_QUERY_INFORMATION)(
IN PVOID Context,
IN ULONG BatteryTag,
IN BATTERY_QUERY_INFORMATION_LEVEL Level,
IN LONG AtRate OPTIONAL,
OUT PVOID Buffer,
IN ULONG BufferLength,
OUT PULONG ReturnedLength);
/*IN*/ PVOID Context,
/*IN*/ ULONG BatteryTag,
/*IN*/ BATTERY_QUERY_INFORMATION_LEVEL Level,
/*IN*/ LONG AtRate /*OPTIONAL*/,
/*OUT*/ PVOID Buffer,
/*IN*/ ULONG BufferLength,
/*OUT*/ PULONG ReturnedLength);
typedef NTSTATUS DDKAPI
(*BCLASS_QUERY_STATUS)(
IN PVOID Context,
IN ULONG BatteryTag,
OUT PBATTERY_STATUS BatteryStatus);
/*IN*/ PVOID Context,
/*IN*/ ULONG BatteryTag,
/*OUT*/ PBATTERY_STATUS BatteryStatus);
typedef NTSTATUS DDKAPI
(*BCLASS_QUERY_TAG)(
IN PVOID Context,
OUT PULONG BatteryTag);
/*IN*/ PVOID Context,
/*OUT*/ PULONG BatteryTag);
typedef NTSTATUS DDKAPI
(*BCLASS_SET_INFORMATION)(
IN PVOID Context,
IN ULONG BatteryTag,
IN BATTERY_SET_INFORMATION_LEVEL Level,
IN PVOID Buffer OPTIONAL);
/*IN*/ PVOID Context,
/*IN*/ ULONG BatteryTag,
/*IN*/ BATTERY_SET_INFORMATION_LEVEL Level,
/*IN*/ PVOID Buffer /*OPTIONAL*/);
typedef NTSTATUS DDKAPI
(*BCLASS_SET_STATUS_NOTIFY)(
IN PVOID Context,
IN ULONG BatteryTag,
IN PBATTERY_NOTIFY BatteryNotify);
/*IN*/ PVOID Context,
/*IN*/ ULONG BatteryTag,
/*IN*/ PBATTERY_NOTIFY BatteryNotify);
typedef struct _BATTERY_MINIPORT_INFO {
@@ -247,49 +247,49 @@ BCLASSAPI
NTSTATUS
DDKAPI
BatteryClassInitializeDevice(
IN PBATTERY_MINIPORT_INFO MiniportInfo,
IN PVOID *ClassData);
/*IN*/ PBATTERY_MINIPORT_INFO MiniportInfo,
/*IN*/ PVOID *ClassData);
BCLASSAPI
NTSTATUS
DDKAPI
BatteryClassIoctl(
IN PVOID ClassData,
IN PIRP Irp);
/*IN*/ PVOID ClassData,
/*IN*/ PIRP Irp);
BCLASSAPI
NTSTATUS
DDKAPI
BatteryClassQueryWmiDataBlock(
IN PVOID ClassData,
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
IN ULONG GuidIndex,
IN OUT PULONG InstanceLengthArray,
IN ULONG OutBufferSize,
OUT PUCHAR Buffer);
/*IN*/ PVOID ClassData,
/*IN*/ PDEVICE_OBJECT DeviceObject,
/*IN*/ PIRP Irp,
/*IN*/ ULONG GuidIndex,
/*IN OUT*/ PULONG InstanceLengthArray,
/*IN*/ ULONG OutBufferSize,
/*OUT*/ PUCHAR Buffer);
BCLASSAPI
NTSTATUS
DDKAPI
BatteryClassStatusNotify(
IN PVOID ClassData);
/*IN*/ PVOID ClassData);
BCLASSAPI
NTSTATUS
DDKAPI
BatteryClassSystemControl(
IN PVOID ClassData,
IN PWMILIB_CONTEXT WmiLibContext,
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
OUT PSYSCTL_IRP_DISPOSITION Disposition);
/*IN*/ PVOID ClassData,
/*IN*/ PWMILIB_CONTEXT WmiLibContext,
/*IN*/ PDEVICE_OBJECT DeviceObject,
/*IN*/ PIRP Irp,
/*OUT*/ PSYSCTL_IRP_DISPOSITION Disposition);
BCLASSAPI
NTSTATUS
DDKAPI
BatteryClassUnload(
IN PVOID ClassData);
/*IN*/ PVOID ClassData);
#ifdef __cplusplus
}