I am writing a Win32 application for user space. However, as part of this application, I need to make several calls DeviceIoto the Windows 1394 stack. A header file that contains the prototypes for these calls DeviceIois included as part of the Windows DDK:
C:\WinDDK\7600.16385.1\inc\api\ntdd1394.h
(Although the title claims to be "kernel mode only," the prototypes for IOCTL are for user space.) I am wondering what is the best way to include this file in my application.
It would be bad practice to use #includeit directly (the path depends, among other things, on the DDK version), and besides, there is no real need to install DDK --- the only dependency of my application is on this particular header file.
So I wonder what is the best course of action? I considered including a stripped-down version of this file directly in the source of my applications, but I'm not really sure.
source
share