Is it A typo in WDF DDK

typedef NTSTATUS
(*PFN_WDF_DEVICE_RESOURCE_REQUIREMENTS_QUERY)(
IN WDFDEVICE Device,
IN WDFIORESREQLIST IoResourceRequirementsList
);

Should the second argument be IN OUT? or probably be OUT since input is an
empty list?

A very trivial one which users can probably figure it out from the desc…

Thanks,
-Praveen

The IN/OUT describe the value itself being passed. In this case, the
KMDF handle remains the same, while you are operating on the handle and
modifying its state underneath the handle.

d

– I can spell, I just can’t type.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Praveen Kumar
Amritaluru
Sent: Monday, July 24, 2006 7:02 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Is it A typo in WDF DDK

typedef NTSTATUS
(*PFN_WDF_DEVICE_RESOURCE_REQUIREMENTS_QUERY)(
IN WDFDEVICE Device,
IN WDFIORESREQLIST IoResourceRequirementsList
);

Should the second argument be IN OUT? or probably be OUT since input is
an empty list?

A very trivial one which users can probably figure it out from the
desc…

Thanks,
-Praveen


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer