Danny Smith
7d032a010a
* include/ddk/winnt4.h (Exi386InterlockedDecrementLong,
...
Exi386InterlockedExchangeUlong, Exi386InterlockedIncrementLong);
Add prototypes.
* include/winddk.h (ExInterlockedAddUlong,
ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
ExInterlockedRemoveHeadList, ExInterlockedPopEntryList,
ExInterlockedPushEntryList): Change calling convention to
DDKAPI.
(ExfInterlockedAddUlong,ExInterlockedInsertHeadList,
ExInterlockedInsertTailList, ExInterlockedRemoveHeadList,
ExInterlockedPopEntryList, ExInterlockedPushEntryList):
Add prototypes for DDKFASTAPI versions.
Thanks to Vadim Yegor0v <zg at bmg dot lv> for report.
* lib/ntoskrnl.def (ExInterlockedAddUlong,
ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
ExInterlockedRemoveHeadList, ExInterlockedPopEntryList,
ExInterlockedPushEntryList): Remove lead '@' from stubs.
(ExfInterlockedAddUlong,ExfInterlockedInsertHeadList,
ExfInterlockedInsertTailList, ExfInterlockedRemoveHeadList,
ExfInterlockedPopEntryList, ExfInterlockedPushEntryList):
Add fastcall stubs.
(Exi386InterlockedDecrementLong, Exi386InterlockedExchangeUlong,
Exi386InterlockedIncrementLong); Add stdcall stubs.
2004-10-10 07:14:04 +00:00
Danny Smith
85153fb164
2004-09-29 Filip Navara <xnavara@volny.cz>
...
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, mcd.h, miniport.h,
mountdev.h, mountmgr.h, ndis.h, ndistapi.h, ndiswan.h, netpnp.h,
newdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h, ntddcdvd.h,
ntddchgr.h, ntdddisk.h, ntddkbd.h, ntddmou.h, ntddpar.h, ntddpcm.h,
ntddscsi.h, ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h,
ntddvdeo.h, ntddvol.h, ntpoapi.h, parallel.h, pfhook.h, poclass.h,
scsi.h, scsiscan.h, smbus.h, srb.h, storport.h, tdiinfo.h,
tdikrnl.h, tvout.h, upssvc.h, usb.h, usb100.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, videoagp.h, winddi.h, winddk.h,
winnt4.h, ws2san.h): Fixed packing.
* include/ddk/atm.h (ATM_TRAFFIC_DESCRIPTOR_IE): Fixed declaration.
* include/ddk/hidclass.h (HID_INTERFACE_HIDPARSE,
HID_INTERFACE_NOTIFY_PNP): Likewise.
* include/ddk/ndis.h (NDIS_DMA_BLOCK, CO_FLOW_PARAMETERS): Likewise.
(NdisQueryPacketLength): Added macro. Thanks to Art Yerkes
<ayerkes@speakeasy.net>.
* include/ddk/usb100.h (USB_CONFIGURATION_DESCRIPTOR): Fixed
declaration.
* include/ddk/winddi.h (PATHDATA, GLYPHPOS): Likewise.
* include/ddk/winddk.h (PDRIVER_CONTROL, PDRIVER_LIST_CONTROL,
PDRIVER_ADD_DEVICE, PIO_COMPLETION_ROUTINE, PDRIVER_CANCEL,
PKDEFERRED_ROUTINE, PDRIVER_DISPATCH, PIO_DPC_ROUTINE,
PMM_DLL_INITIALIZE, PMM_DLL_UNLOAD, PDRIVER_ENTRY,
PDRIVER_INITIALIZE, PKSERVICE_ROUTINE, PIO_TIMER_ROUTINE,
PDRIVER_REINITIALIZE, PDRIVER_STARTIO, PKSYNCHRONIZE_ROUTINE,
PDRIVER_UNLOAD, DRIVER_OBJECT): Fixed callback declarations.
(struct FILE_BASIC_INFORMATION): Renamed to _FILE_BASIC_INFORMATION.
(SYNCH_LEVEL): Added definition.
(KPCR, KPCR_TIB): Fixed declaration.
(Interlocked[Push/Pop]EntrySList): Declare only if winbase.h isn't
included and _WIN32_WINNT >= 0x0501.
(RtlEqualLuid): Fixed macro definition.
(KfLowerIrql, KfRaiseIrql): Declare and use instead of KeLowerIrql and
KeRaiseIrql on i386 architectures.
2004-09-28 08:46:54 +00:00
Danny Smith
ba1a97a18b
2004-04-14 Robert Wruck <rwruck@users.sourceforge.net>
...
* include/ddk/winddk.h (RtlEqualLuid): Correct macro.
2004-04-14 10:53:17 +00:00
Danny Smith
71826fa7fa
2004-03-05 Filip Navara <xnavara@volny.cz>
...
* include/ddk/scsi.h: Replace assert with ASSERT.
* include/ddk/video.h: Ditto.
* include/ddk/winddk.h: Ditto. Remove the assert macro.
* include/ddk/tdi.h: Correct packing.
2004-03-05 09:01:04 +00:00
Earnie Boyd
e6ea2b9671
* include/ddk/winddk.h (DIRECTORY_QUERY): Add define.
...
(DIRECTORY_TRAVERSE): Ditto.
(DIRECTORY_CREATE_OBJECT): Ditto.
(DIRECTORY_CREATE_SUBDIRECTORY): Ditto.
(DIRECTORY_ALL_ACCESS): Ditto.
Thanks to Konstantin Stepaniuk <skostia@users.sourceforge.net>
2004-02-14 01:20:49 +00:00
Danny Smith
8b93d1c1ab
2004-01-02 Filip Navara <xnavara@volny.cz>
...
* include/ddk/winddk.h: Don't care about value of
DBG define.
2004-01-02 Danny Smith <dannysmith@users.sourceforge.net>
Filip Navara <xnavara@volny.cz>
* include/ddk/winddk.h (_DDK_DUMMYUNION_MEMBER,
_DDK_DUMMYUNION_N_MEMBER): New macros.
(ExAllocateFromPagedLookasideList,ExFreeToPagedLookasideList,
ExAllocateFromNPagedLookasideList, ExFreeToNPagedLookasideList):
Use them.
2004-01-02 03:19:52 +00:00
Danny Smith
e98b6dbb6d
2003-08-26 Filip Navara <xnavara@volny.cz>
...
* include/ddk/winddk.h (RTL_REGISTRY_*): Add defines.
(IoSetCompletionRoutine): Cast _CompletionRoutine arg to
PIO_COMPLETION_ROUTINE.
2003-08-25 10:20:36 +00:00
Danny Smith
37f0dc7a05
2003-08-15 Andrew Greenwood <lists@silverblade.co.uk>
...
* include/wingdi.h (DEVMODE[AW]) Correct structure definition.
* include/ddk/ntapi.h (LPC_TYPE): Add LPC_CONNECTION_REFUSED.
* include/ddk/winddk.h (IRP_*): Add constants as anonymous enum.
2003-08-15 02:19:54 +00:00
Danny Smith
7d18037f8f
2003-08-01 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/ddk/atm.h: Remove stray '.';
2003-08-01 Gisle Vanem <gvanem@broadpark.no>
* include/ddk/winddk.h; Remove trailing ';' from macro expressions,
throughout. Add () around macro expressions with cast returns,
throughout.
2003-08-01 01:06:26 +00:00
Danny Smith
1058b66e9a
* include/winbase.h (DUPLICATE_CLOSE_SOURCE,
...
DUPLICATE_SAME_ACCESS): Remove defines.
(HANDLE_FLAG_INHERIT, HANDLE_FLAG_PROTECT_FROM_CLOSE): Sync with
ddk/ntapi.h defines.
(SEM_*) : Likewise.
* include/winnt.h (COMPRESSION_*, ACCESS_*, SYSTEM_*): Sync with
ddk/ntifs.h defines.
(FILE_*): Likewise.
(MEM_IMAGE, SEC_*): Likewise.
(DUPLICATE_CLOSE_SOURCE, DUPLICATE_SAME_ACCESS,
DUPLICATE_SAME_ATTRIBUTES): Sync with ddk/winddk.h defines.
(TOKEN_*): Sync with ddk/ntifs.h defines.
* include/ddk/ntapi.h: Add comments noting definitions in
winbase.h.
* include/ddk/ntifs.h: Add comments noting definitions in
winnt.h.
* include/ddk/winddk.h: Add comments noting definitions in
winnt.h.
2003-07-22 22:21:27 +00:00
Danny Smith
a13fa879dd
Clean up warnings in ddk.
...
* include/ddk/atm.h (_ATM_AAL_OOB_INFO): Add _ANONYMOUS_UNION,
conditional on __cplusplus.
* include/ddk/scsi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
defines, throughout.
(_CDB): Add _ANONYMOUS_UNION, conditional on __cplusplus.
* include/ddk/cfg.h (_PNP_VETO_TYPE): Remove extra comma.
* include/ddk/cfgmgr32.h: Change C++ comment style to ISO C.
* include/ddk/ddkmapi.h (_DDLOCKOUT): Add _ANONYMOUS_UNION defines.
* include/ddk/hidpi.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
defines, throughout.
* include/ddk/ndis.h: Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT
defines, throughout. Remove trailing semicolon from *_S 'structure'
macro expansion, throughout. Remove trailing semicolon from
DECLARE_UNKNOWN_STRUCT macro expansion.
* include/ddk/ndiswan.h (_NDIS_WAN_COMPRESS_INFO): Add
_ANONYMOUS_UNION.
* include/ddk/ntapi.h (_PROCESS_DEVICEMAP_INFORMATION,
_PROCESS_SESSION_INFORMATION): Add _ANONYMOUS_UNION.
* include/ddk/ntddcdrm.h (CDROM_TOC_CD_TEXT_DATA_BLOCK):
Add _ANONYMOUS_UNION.
* include/ddk/ntdddisk.h: Add _ANONYMOUS_UNION, throughout.
* include/ddk/ntddmou.h: Add _ANONYMOUS_UNION, throughout.
* include/ddk/ntifs.h: Add _ANONYMOUS_UNION, throughout.
(ZwQueryObject): Change 2nd param to OBJECT_INFORMATION_CLASS, to
match proto in ntapi.h.
(ZwSetInformationObject): Likewise.
* include/ddk/srb.h (SCSI_REQUEST_BLOCK): Add _ANONYMOUS_UNION.
(SCSI_ADAPTER_CONTROL_TYPE): Add __extension__.
* include/ddk/tdikrnl.h (TDI20_CLIENT_INTERFACE_INFO): Add
_ANONYMOUS_UNION and _ANONYMOUS_STRUCT.
* include/ddk/usb.h (USB): Add _ANONYMOUS_UNION.
* include/ddk/usbcamdi.h (USBCAMD_CamControlFlags): Remove
last comma.
* include/ddk/video.h (STATUS_BLOCK): Add _ANONYMOUS_UNION.
* include/ddk/winddk.h (DECLARE_INTERNAL_OBJECT): Remove
trailing semicolon when expanding macro.
(GENERAL_LOOKASIDE_S): Likewise.
Add _ANONYMOUS_UNION and _ANONYMOUS_STRUCT, throughout.
Change inline to __inline, throughout.
* include/ddk/winnt4.h: Change inline to __inline, throughout.
2003-07-16 21:49:02 +00:00
Danny Smith
8330615ded
2003-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* include/ddk/ntifs.h (KeInsertQueueApc): Make return type
BOOLEAN. Name parameter 4 PriorityBoost and make it of type
KPRIORITY.
* include/ddk/winddk.h (_KPCR): Put IDT field on next line.
* include/ddk/winddk.h (_IO_STATUS_BLOCK, _IRP, _OWNER_ENTRY,
_ERESOURCE, _IMAGE_INFO, _CREATE_DISK, _DISK_SIGNATURE, _KPCR_TIB):
Apply _ANONYMOUS_UNION to anonymous unions and _ANONYMOUS_STRUCT
to anonymous structs.
2003-07-13 03:41:46 +00:00
Danny Smith
38b524b385
* include/ddk/ntpoapi.h (POWER_INFORMATION_LEVEL): Remove.
...
* include/winnt.h (POWER_INFORMATION_LEVEL): Add.
* include/ddk/winddk.h (SINGLE_LIST_ENTRY,SLIST_HEADER):
Remove.
* include/ddk/ndis.h (NdisAllocateSpinLock): Add missing '\'.
2003-06-02 22:21:54 +00:00
Danny Smith
3f26a1aeb7
2003-04-07 Marcel Telka <telka@users.sourceforge.net>
...
* include/ddk/winddk.h (KIRQL): Typedef as UCHAR. not ULONG.
2003-04-07 01:06:23 +00:00
Danny Smith
200738932f
Move some ddk defines to winnt.h as per MSDN documentation
...
* include/ddk/batclass.h (BATTERY_REPORTING_SCALE)
Move structure from here...
* include/winnt.h (BATTERY_REPORTING_SCALE): To here.
* include/ddk/ntapi.h (JOBOBJECT_*):
Remove structures and enums definitions.
(JOB_OBJECT*): Move defines from here...
* include/winnt.h (JOB_OBJECT* ): To here.
* include/ddk/ntpoapi.h (LATENCY_TIME, POWER_ACTION_POLICY,
SYSTEM_POWER_LEVEL, SYSTEM_POWER_POLICY,
PROCESSOR_POWER_POLICY_INFO, PROCESSOR_POWER_POLICY,
ADMINISTRATOR_POWER_POLICY, SYSTEM_POWER_INFORMATION,
PROCESSOR_POWER_INFORMATION, SYSTEM_BATTERY_STATE,
SYSTEM_POWER_CAPABILITIES): Move enums, structures
and associated defines from here ...
* include/winnt.h: (LATENCY_TIME, POWER_ACTION_POLICY,
SYSTEM_POWER_LEVEL, SYSTEM_POWER_POLICY,
PROCESSOR_POWER_POLICY_INFO, PROCESSOR_POWER_POLICY,
ADMINISTRATOR_POWER_POLICY, SYSTEM_POWER_INFORMATION,
PROCESSOR_POWER_INFORMATION, SYSTEM_BATTERY_STATE,
SYSTEM_POWER_CAPABILITIES):To here.
* include/ddk/winddk.h (DEVICE_POWER_STATE,
SYSTEM_POWER_STATE, POWER_ACTION): Move enums
from here...
* include/winnt.h (DEVICE_POWER_STATE,
SYSTEM_POWER_STATE, POWER_ACTION): To here.
2003-03-26 22:28:01 +00:00
Danny Smith
2359084b5b
2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/ddk/winddk.h (PCUNICODE_STRING): Remove incorrect
typedef.
2003-03-13 Bang Jun-Young <junyoung@netbsd.org>
* lib/kernel32.def (Module32{First,Next}{,W}): Add missing exports.
(Process32{First,Next}{,W}): Ditto.
(Thread32{First,Next}): Ditto.
* include/ntdef.h (PCUNICODE_STRING): Add typedef.
2003-03-14 03:06:52 +00:00
Danny Smith
037c11e868
* include/ddk/hidusage.h: Remove unneccessary #pragma pack's.
...
* include/ddk/miniport.h (EMULATOR_PORT_ACCESS_TYPE): Define
before using.
(VIDEO_ACCESS_RANGE): Guard against prior definition.
* include/ddk/minitape.h (INQUIRYDATA): Guard against prior
definition.
* include/ddk/ndis.h (DECLARE_UNKNOWN_PROTOTYPE): Correct macro.
* include/ddk/ndisguid.h: Remove unneccessary #pragma pack's.
* include/ddk/scsi.h (INQUIRYDATA): Guard against prior
definition.
* include/ddk/scsiwmi.h (GUID): Define if not already done.
(LPCGUID): Likewise.
* include/ddk/tdi.h: Close "Listen flags" comment.
* include/ddk/tdistat.h: Remove unneccessary #pragma pack's.
* include/ddk/video.h: Add #pragma pack(push,4) to balance.
(VIDEO_ACCESS_RANGE): Guard against prior definition.
* include/ddk/videoagp.h:Add #pragma pack(push,4) to balance.
* include/ddk/win2k.h: Likewise.
* include/ddk/winddi.h: Likewise.
* include/ddk/winddk.h: Likewise.
* include/ddk/winnt4.h: Likewise.
* include/ddk/ws2san.h: Likewise.
* include/ddk/xfilter.h: Remove unbalanced #pragma pack(pop).
* include/ddk/video.h: Don't process rest of file ifdef
__WINDDI_H.
* include/ddk/winddi.h: Don't process rest of file ifdef
__VIDEO_H.
* include/ddk/usb.h: Don't process rest of file ifdef
__USBDI_H.
* include/ddk/usbdi.h: Don't process rest of file ifdef
__USB_H.
* include/ddk/usbcamdi.h: Don't process rest of file if
!defined(__USB_H) && !defined(__USBDI_H)
2002-12-19 01:34:26 +00:00
Danny Smith
540d550a38
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
...
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
xfilter.h): Change comment to refer w32api package, not MinGW.
2002-11-15 01:08:17 +00:00
Danny Smith
6ac7b97610
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
...
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
xfilter.h): Fix typo in disclaimer comment.
2002-11-12 21:34:07 +00:00
Earnie Boyd
2bacbfb1d1
2002-10-06 Casper Hornstrup <chorns@it.dk>
...
* include/ddk: New subdir.
* lib/ddk: Ditto.
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
xfilter.h): New files.
* lib/ddk/(Makefile.in, apcups.def, cfgmgr32.def, dxapi.def,
hal.def, hid.def, hidparse.def, mcd.def, ndis.def, ntoskrnl.def,
scsiport.def, tdi.def, usbcamd.def, usbcamd2.def, videoprt.def,
win32k.def): Ditto.
2002-10-06 22:18:26 +00:00