i have just started to cut my teeth with wdk (winddk 3790.1830)
i am at present trying only with commandline (no vc no ddkbuild
integration with vc etc)
is there any comprehensive list where by i can find what those
TARGETTYPE = macros mean (TARGETTYPE is juat an example)
i grepped through makedef.new to find a few like this
findstr /S “TARGETTYPE” *.new
== “DYNLINK”
== “DRIVER” || \
== “EXPORT_DRIVER” || \
== “HAL” || \
== “GDI_DRIVER”
== “DRIVER” || \
“EXPORT_DRIVER” || \
“MINIPORT” || \
i would like to know what each are and what associated entries they take
for example
if i set TARGETTYPE == PROGRAM
then what would UMENTRY be
where can i find if i have to put main , winmain , or _DllCrtStartup
where can find the /D (defines)
i just passed a command
C:\win32kpdb>cl.exe /Zi /Gz /c /Fdwin32k.pdb /I paths> /D_X86_=1 some.c
and in the some.c there are a few
UINT one;
UINT two;
which cl simply complains about saying unknown identifier
UINT
if i add a typedef
typedef unsigned int UINT;
cl compiles it happily
looking around i think i need to add /D_windef_=1
is that right ?
what else <define_names> exist ?
is grepping with findstr the only option to find out
i can open all the files in /src and learn a few things but
it would be helpful if some one can point out something
that has this all explained in a comprehensive list
also i went to msdn in search of /I for cl.exe
it states one can add multiple include paths with semicolon
but wdk cl.exe doesnt seem to accept ;
/I%DDK_INC_PATH%;%CRT_INC_PATH
doesnt seem to work
whereas sending them seperately like
/I%DDK_INC_PATH /I%CRT_INC_PATH% seems to work
sorry if the quetions seems to be too stupid
any pointers would be helpful</define_names>