I am comliling user-mode dll from DDK build window (DDK version 3790).
After I added security attributes code, I get compilation errors.
I tried to include "sddl.h" file. I even tried to give include path
for sddl.h.
But still "Cannot open file sddl.h". I dont see sddl.h anywhere in
c:\winddk. I found few DACL related definitions in wdm.h which is
included in my workspace.
How can I compile code with function
"ConvertsecurityDescriptorToSecurityDescriptor" from DDK window.
TARGETTYPE=DYNLINK
DLLENTRY=DLLMain
TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\setupapi.lib \
$(SDK_LIB_PATH)\winmm.lib \
$(SDK_LIB_PATH)\advapi32.lib
USE_MAPSYM=1
USE_MSVCRT=1
DEBUG_CRTS=1
UMTYPE=windows
USER_C_FLAGS=/FAcs
SYNCHRONIZE_BLOCK=1
INCLUDES=..\..\inc; \
..\..\driver\common; \
c:\winddk\inc\wnet; \
c:\Program Files\Microsoft Platform SDK\Include; \
C:\Program Files\Microsoft SDK\Include
SOURCES= 1394apidll.c \
1394dllmain.c