Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

813 lines
19 KiB

4 years ago
  1. !INCLUDE $(NTMAKEENV)\makefile.plt
  2. #
  3. # If BUILDMSG is not defined, the define it as the empty string to make
  4. # the conditionals easier to write.
  5. #
  6. !IFNDEF BUILDMSG
  7. BUILDMSG=
  8. !ENDIF
  9. COPYRIGHT_STRING = Copyright (c) 1990-1996 Microsoft Corporation
  10. !IFNDEF NO_STRICT
  11. STRICT=1
  12. !ENDIF
  13. !IFDEF TUKWILA
  14. !ENDIF
  15. SDKINC = $(_NTROOT)\public\sdk\inc
  16. OAKINC = $(_NTROOT)\public\oak\inc
  17. # BUGBUG - Update to SDKINC after 4.0 ships
  18. D3DINC = inc
  19. WINNT_DEPENDS = $(SDKINC)\ntdef.h \
  20. $(SDKINC)\ntstatus.h \
  21. $(SDKINC)\ntkeapi.h \
  22. $(SDKINC)\ntalpha.h \
  23. $(SDKINC)\nti386.h \
  24. $(SDKINC)\ntmips.h \
  25. $(SDKINC)\ntppc.h \
  26. $(SDKINC)\ntxcapi.h \
  27. $(SDKINC)\ntpsapi.h \
  28. $(SDKINC)\ntexapi.h \
  29. $(SDKINC)\ntmmapi.h \
  30. $(SDKINC)\ntioapi.h \
  31. $(SDKINC)\ntobapi.h \
  32. $(SDKINC)\ntseapi.h \
  33. $(SDKINC)\ntimage.h \
  34. $(SDKINC)\ntrtl.h \
  35. $(SDKINC)\nturtl.h \
  36. $(SDKINC)\ntldr.h \
  37. $(SDKINC)\ntelfapi.h \
  38. $(SDKINC)\ntdbg.h \
  39. $(SDKINC)\ntregapi.h \
  40. $(SDKINC)\ntconfig.h \
  41. $(SDKINC)\ntddtape.h
  42. WINIOCTL_DEPENDS = $(SDKINC)\devioctl.h \
  43. $(SDKINC)\ntddstor.h \
  44. $(SDKINC)\ntdddisk.h \
  45. $(SDKINC)\ntddser.h \
  46. $(SDKINC)\ntioapi.h
  47. WINRESRC_DEPENDS = $(SDKINC)\ntdef.h \
  48. $(SDKINC)\winuser.h \
  49. $(SDKINC)\commctrl.h \
  50. $(SDKINC)\dde.h
  51. DDERROR_DEPENDS = $(SDKINC)\winerror.h
  52. TARGETSRCS0= $(SDKINC)\windows.h \
  53. $(SDKINC)\winbase.h \
  54. $(SDKINC)\winspool.h \
  55. $(SDKINC)\winnt.h \
  56. $(SDKINC)\winioctl.h \
  57. $(SDKINC)\winerror.h \
  58. $(SDKINC)\winuser.h \
  59. $(SDKINC)\wingdi.h \
  60. $(SDKINC)\windef.h \
  61. $(SDKINC)\winnls.h \
  62. $(SDKINC)\winreg.h \
  63. $(SDKINC)\wincon.h \
  64. $(SDKINC)\winnetwk.h \
  65. $(SDKINC)\wincrypt.h \
  66. $(SDKINC)\winsock2.h \
  67. inc\winnetp.h \
  68. $(SDKINC)\winsvc.h \
  69. $(SDKINC)\winver.h \
  70. $(SDKINC)\ntsecapi.h \
  71. $(SDKINC)\subauth.h \
  72. $(SDKINC)\lzexpand.h \
  73. $(SDKINC)\ddeml.h \
  74. $(SDKINC)\shellapi.h \
  75. $(SDKINC)\cpl.h \
  76. $(SDKINC)\ddraw.h \
  77. $(D3DINC)\d3d.h \
  78. $(D3DINC)\d3dtypes.h \
  79. $(D3DINC)\d3dcaps.h \
  80. $(D3DINC)\d3drm.h \
  81. $(D3DINC)\d3drmdef.h \
  82. $(D3DINC)\d3drmobj.h \
  83. $(D3DINC)\d3drmwin.h \
  84. $(SDKINC)\dsound.h \
  85. inc\shlapip.h \
  86. inc\cplp.h \
  87. inc\ddemlp.h \
  88. inc\ddeml.x \
  89. $(SDKINC)\mmsystem.h \
  90. media\winmm\mmsysp.h \
  91. $(SDKINC)\mmddk.h \
  92. inc\mmsystem.x \
  93. $(SDKINC)\digitalv.h \
  94. $(OAKINC)\dderror.h \
  95. nlsmsg\msg00001.bin \
  96. nlsmsg\winerror.rc \
  97. inc\conapi.h \
  98. inc\windowsp.h \
  99. inc\winbasep.h \
  100. inc\winuserp.h \
  101. inc\wingdip.h \
  102. inc\winnls.x \
  103. inc\winnlsp.h \
  104. inc\winuser.x \
  105. inc\winreg.x \
  106. inc\winregp.h \
  107. inc\wingdi.x \
  108. inc\winuserp.x \
  109. inc\winbase.x \
  110. inc\winspool.x \
  111. inc\winbasep.x
  112. TARGETSRCS1= inc\wincon.x \
  113. inc\winconp.h \
  114. inc\winconp.x \
  115. inc\ddrawp.h \
  116. inc\dsoundp.h \
  117. inc\d3dp.h \
  118. inc\d3dhal.h \
  119. inc\d3di.h \
  120. inc\d3prm.h \
  121. inc\d3prmdef.h \
  122. inc\d3prmobj.h \
  123. inc\d3prmwin.h \
  124. $(SDKINC)\nspapi.h \
  125. $(OAKINC)\winsecp.h \
  126. $(SDKINC)\commctrl.h \
  127. inc\comctrlp.h \
  128. $(SDKINC)\prsht.h \
  129. inc\prshtp.h \
  130. $(SDKINC)\shlwapi.h \
  131. inc\shlwapip.h \
  132. inc\shlwapi.x \
  133. inc\shlwapip.x \
  134. $(SDKINC)\commdlg.h \
  135. inc\commdlgp.h \
  136. inc\commdlg.x \
  137. inc\commdlgp.x \
  138. $(SDKINC)\shlobj.h \
  139. inc\shlobjp.h \
  140. inc\shlobj.x \
  141. inc\shlobjp.x \
  142. $(SDKINC)\shlguid.h \
  143. inc\shlguidp.h \
  144. inc\shlguid.x \
  145. inc\shlguidp.x \
  146. $(SDKINC)\userenv.h \
  147. inc\userenvp.h \
  148. inc\userenv.x \
  149. inc\userenvp.x \
  150. $(SDKINC)\winnls32.h \
  151. inc\winnls3p.h \
  152. inc\winnls32.x \
  153. inc\winnls3p.x \
  154. $(SDKINC)\ime.h \
  155. inc\imep.h \
  156. inc\ime.x \
  157. inc\imep.x \
  158. inc\immp.x \
  159. inc\immoak.x \
  160. inc\imm.x \
  161. inc\immp.h \
  162. $(SDKINC)\imm.h \
  163. $(OAKINC)\immdev.h
  164. !if 0
  165. $(SDKINC)\winresrc.h
  166. !endif
  167. TARGETSRCS=$(TARGETSRCS0) $(TARGETSRCS1)
  168. all: $(TARGETSRCS)
  169. !IF "$(BUILDMSG)" != ""
  170. @ech ; $(BUILDMSG) ;
  171. !ENDIF
  172. clean: all
  173. clean1: cleansrc all
  174. cleansrc:
  175. -erase $(TARGETSRCS0)
  176. -erase $(TARGETSRCS1)
  177. nlsmsg\winerror.mc: nlsmsg\winerror.w
  178. hsplit -e -o nlsmsg\winerror.mc nlsmsg\winerrp.mc nlsmsg\winerror.w
  179. $(SDKINC)\winerror.h nlsmsg\msg00001.bin nlsmsg\winerror.rc: nlsmsg\winerror.mc
  180. mc -v -d -r nlsmsg\ -h $(SDKINC)\ -x $(SDKINC)\ nlsmsg\winerror.mc
  181. $(SDKINC)\winnt.h: $(WINNT_DEPENDS)
  182. type << > $(SDKINC)\winnt.h
  183. /*++ BUILD Version: ???? Increment this if a change has global effects
  184. $(COPYRIGHT_STRING)
  185. Module Name:
  186. winnt.h
  187. Abstract:
  188. This module defines the 32-Bit Windows types and constants that are
  189. defined by NT, but exposed through the Win32 API.
  190. Revision History:
  191. --*/
  192. #ifndef _WINNT_
  193. #define _WINNT_
  194. #ifdef __cplusplus
  195. extern "C" {
  196. #endif
  197. <<
  198. hextract -f -o $(SDKINC)\winnt.h -lt winnt -bt begin_winnt end_winnt $(WINNT_DEPENDS)
  199. type << >> $(SDKINC)\winnt.h
  200. #ifdef __cplusplus
  201. }
  202. #endif
  203. #endif /* _WINNT_ */
  204. <<
  205. $(SDKINC)\winioctl.h: $(WINIOCTL_DEPENDS) makefil0
  206. type << > $(SDKINC)\winioctl.h
  207. /*++ BUILD Version: ???? // Increment this if a change has global effects
  208. $(COPYRIGHT_STRING)
  209. Module Name:
  210. winioctl.h
  211. Abstract:
  212. This module defines the 32-Bit Windows Device I/O control codes.
  213. Revision History:
  214. --*/
  215. #ifndef _WINIOCTL_
  216. #define _WINIOCTL_
  217. <<
  218. hextract -f -o $(SDKINC)\winioctl.h -lt winioctl -bt begin_winioctl end_winioctl $(WINIOCTL_DEPENDS)
  219. type << >> $(SDKINC)\winioctl.h
  220. #endif // _WINIOCTL_
  221. <<
  222. $(SDKINC)\windows.h : inc\windows.x
  223. wcshdr < inc\windows.x > $(SDKINC)\windows.h
  224. inc\windowsp.h : inc\windowsp.x
  225. wcshdr < inc\windowsp.x > inc\windowsp.h
  226. inc\windows.x inc\windowsp.x: inc\windows.w
  227. hsplit -e -o inc\windows.x inc\windowsp.x inc\windows.w
  228. $(SDKINC)\winbase.h : inc\winbase.x
  229. wcshdr < inc\winbase.x > $(SDKINC)\winbase.h
  230. inc\winbasep.h : inc\winbasep.x
  231. wcshdr < inc\winbasep.x > inc\winbasep.h
  232. inc\winbase.x inc\winbasep.x: inc\winbase.w
  233. hsplit -e -o inc\winbase.x inc\winbasep.x inc\winbase.w
  234. $(SDKINC)\winspool.h : inc\winspool.x
  235. wcshdr < inc\winspool.x > $(SDKINC)\winspool.h
  236. inc\winspool.x inc\winsprlp.x: inc\winspool.w
  237. hsplit -e -o inc\winspool.x inc\winsprlp.h inc\winspool.w
  238. inc\winuser.x inc\winuserp.x: inc\winuser.w
  239. hsplit -e -o inc\winuser.x inc\winuserp.x inc\winuser.w
  240. # start FE_IME
  241. inc\winnls32.x inc\winnls3p.x: inc\winnls32.w
  242. hsplit -o inc\winnls32.x inc\winnls3p.x inc\winnls32.w
  243. $(SDKINC)\winnls32.h: inc\winnls32.x
  244. wcshdr < inc\winnls32.x > $(SDKINC)\winnls32.h
  245. inc\winnls3p.h: inc\winnls3p.x
  246. wcshdr < inc\winnls3p.x > inc\winnls3p.h
  247. inc\immp.x inc\immoak.x: inc\imm.w
  248. hsplit -e -ltb Internal-IME -lt2 Internal -o inc\immoak.x inc\immp.x inc\imm.w
  249. inc\imm.x: inc\imm.w
  250. hsplit -e -s -lt2 Internal -o inc\imm.ww nul inc\imm.w
  251. hsplit -e -lt2 Internal-IME -o inc\imm.x nul inc\imm.ww
  252. del inc\imm.ww
  253. inc\immp.h: inc\immp.x
  254. wcshdr < inc\immp.x > inc\immp.h
  255. $(SDKINC)\imm.h: inc\imm.x
  256. wcshdr < inc\imm.x >$(SDKINC)\imm.h
  257. $(OAKINC)\immdev.h: inc\immoak.x
  258. wcshdr < inc\immoak.x >$(OAKINC)\immdev.h
  259. inc\ime.x inc\imep.x: inc\ime.w
  260. hsplit -o inc\ime.x inc\imep.x inc\ime.w
  261. $(SDKINC)\ime.h: inc\ime.x
  262. wcshdr < inc\ime.x > $(SDKINC)\ime.h
  263. inc\imep.h: inc\imep.x
  264. wcshdr < inc\imep.x > inc\imep.h
  265. # end FE_IME
  266. inc\commdlg.x inc\commdlgp.x: inc\commdlg.w
  267. hsplit -e -o inc\commdlg.x inc\commdlgp.x inc\commdlg.w
  268. inc\winnls.x inc\winnlsp.h: inc\winnls.w
  269. hsplit -e -o inc\winnls.x inc\winnlsp.h inc\winnls.w
  270. inc\winreg.x inc\winregp.x: inc\winreg.w
  271. hsplit -e -o inc\winreg.x inc\winregp.x inc\winreg.w
  272. $(SDKINC)\commctrl.h inc\comctrlp.h: inc\commctrl.w
  273. hsplit -e -o $(SDKINC)\commctrl.h inc\comctrlp.h inc\commctrl.w
  274. $(SDKINC)\prsht.h inc\prshtp.h: inc\prsht.w
  275. hsplit -e -o $(SDKINC)\prsht.h inc\prshtp.h inc\prsht.w
  276. inc\shlwapi.x inc\shlwapip.x: inc\shlwapi.w
  277. hsplit -e -o inc\shlwapi.x inc\shlwapip.x inc\shlwapi.w
  278. $(SDKINC)\shlwapi.h: inc\shlwapi.x
  279. wcshdr < inc\shlwapi.x > $(SDKINC)\shlwapi.h
  280. inc\shlwapip.h: inc\shlwapip.x
  281. wcshdr < inc\shlwapip.x > inc\shlwapip.h
  282. $(SDKINC)\nspapi.h : inc\nspapi.x
  283. wcshdr < inc\nspapi.x > $(SDKINC)\nspapi.h
  284. $(SDKINC)\winuser.h: inc\winuser.x
  285. wcshdr < inc\winuser.x > $(SDKINC)\winuser.h
  286. $(SDKINC)\commdlg.h: inc\commdlg.x
  287. wcshdr < inc\commdlg.x > $(SDKINC)\commdlg.h
  288. inc\winuserp.h: inc\winuserp.x
  289. wcshdr < inc\winuserp.x > inc\winuserp.h
  290. inc\commdlgp.h: inc\commdlgp.x
  291. wcshdr < inc\commdlgp.x > inc\commdlgp.h
  292. inc\winregp.h: inc\winregp.x
  293. wcshdr < inc\winregp.x > inc\winregp.h
  294. $(OAKINC)\winsecp.h: inc\winsecp.x
  295. wcshdr < inc\winsecp.x > $(OAKINC)\winsecp.h
  296. inc\shellapi.x inc\shlapip.x: inc\shellapi.w
  297. hsplit -e -o inc\shellapi.x inc\shlapip.x inc\shellapi.w
  298. $(SDKINC)\shellapi.h: inc\shellapi.x
  299. wcshdr < inc\shellapi.x > $(SDKINC)\shellapi.h
  300. inc\shlapip.h: inc\shlapip.x
  301. wcshdr < inc\shlapip.x > inc\shlapip.h
  302. inc\cpl.x inc\cplp.x: inc\cpl.w
  303. hsplit -e -o inc\cpl.x inc\cplp.x inc\cpl.w
  304. $(SDKINC)\cpl.h: inc\cpl.x
  305. wcshdr < inc\cpl.x > $(SDKINC)\cpl.h
  306. inc\cplp.h: inc\cplp.x
  307. wcshdr < inc\cplp.x > inc\cplp.h
  308. inc\shlobj.x inc\shlobjp.x: inc\shlobj.w
  309. hsplit -e -o inc\shlobj.x inc\shlobjp.x inc\shlobj.w
  310. $(SDKINC)\shlobj.h: inc\shlobj.x
  311. wcshdr < inc\shlobj.x > $(SDKINC)\shlobj.h
  312. inc\shlobjp.h: inc\shlobjp.x
  313. wcshdr < inc\shlobjp.x > inc\shlobjp.h
  314. inc\shlguid.x inc\shlguidp.x: inc\shlguid.w
  315. hsplit -e -o inc\shlguid.x inc\shlguidp.x inc\shlguid.w
  316. $(SDKINC)\shlguid.h: inc\shlguid.x
  317. wcshdr < inc\shlguid.x > $(SDKINC)\shlguid.h
  318. inc\shlguidp.h: inc\shlguidp.x
  319. wcshdr < inc\shlguidp.x > inc\shlguidp.h
  320. inc\userenv.x inc\userenvp.x: inc\userenv.w
  321. hsplit -e -o inc\userenv.x inc\userenvp.x inc\userenv.w
  322. $(SDKINC)\userenv.h: inc\userenv.x
  323. wcshdr < inc\userenv.x > $(SDKINC)\userenv.h
  324. inc\userenvp.h: inc\userenvp.x
  325. wcshdr < inc\userenvp.x > inc\userenvp.h
  326. $(SDKINC)\windef.h: inc\windef.w
  327. hsplit -e -o $(SDKINC)\windef.h nul inc\windef.w
  328. inc\wingdi.x inc\wingdip.x: inc\wingdi.w
  329. hsplit -e -o inc\wingdi.x inc\wingdip.x inc\wingdi.w
  330. inc\wingdip.h: inc\wingdip.x
  331. wcshdr < inc\wingdip.x > inc\wingdip.h
  332. $(SDKINC)\wingdi.h: inc\wingdi.x
  333. wcshdr < inc\wingdi.x > $(SDKINC)\wingdi.h
  334. $(SDKINC)\winnls.h: inc\winnls.x
  335. wcshdr < inc\winnls.x > $(SDKINC)\winnls.h
  336. $(SDKINC)\winreg.h: inc\winreg.x
  337. wcshdr < inc\winreg.x > $(SDKINC)\winreg.h
  338. inc\wincon.x inc\winconp.x: inc\wincon.w
  339. hsplit -e -o inc\wincon.x inc\winconp.x inc\wincon.w
  340. $(SDKINC)\wincon.h: inc\wincon.x
  341. wcshdr < inc\wincon.x > $(SDKINC)\wincon.h
  342. inc\winconp.h: inc\winconp.x
  343. wcshdr < inc\winconp.x > inc\winconp.h
  344. inc\winnetwk.x inc\winnetp.x: inc\winnetwk.w
  345. hsplit -e -o inc\winnetwk.x inc\winnetp.x inc\winnetwk.w
  346. $(SDKINC)\winnetwk.h: inc\winnetwk.x
  347. wcshdr < inc\winnetwk.x > $(SDKINC)\winnetwk.h
  348. inc\winnetp.h: inc\winnetp.x
  349. wcshdr < inc\winnetp.x > inc\winnetp.h
  350. inc\ddrawp.h: inc\ddraw.x
  351. copy inc\ddraw.x inc\ddrawp.h
  352. inc\dsoundp.h: inc\dsound.x
  353. copy inc\dsound.x inc\dsoundp.h
  354. inc\d3dp.h: inc\d3d.x
  355. copy inc\d3d.x inc\d3dp.h
  356. inc\d3dhal.h: inc\d3dhal.x
  357. copy inc\d3dhal.x inc\d3dhal.h
  358. inc\d3di.h: inc\d3di.x
  359. copy inc\d3di.x inc\d3di.h
  360. inc\d3prm.h: inc\d3drm.x
  361. copy inc\d3drm.x inc\d3prm.h
  362. inc\d3prmdef.h: inc\d3drmdef.x
  363. copy inc\d3drmdef.x inc\d3prmdef.h
  364. inc\d3prmobj.h: inc\d3drmobj.x
  365. copy inc\d3drmobj.x inc\d3prmobj.h
  366. inc\d3prmwin.h: inc\d3drmwin.x
  367. copy inc\d3drmwin.x inc\d3prmwin.h
  368. $(SDKINC)\winsvc.h: inc\winsvc.x
  369. wcshdr < inc\winsvc.x > $(SDKINC)\winsvc.h
  370. inc\mmsystem.x: inc\mmsystem.w
  371. hsplit -e -s -o inc\mmsystem.y nul -lt2 inc -bt2 begin_inc end_inc -ltb hinc -btb begin_hinc end_hinc inc\mmsystem.w
  372. hsplit -e -n -o inc\mmsystem.x inc\mmsysp.x inc\mmsystem.y
  373. del inc\mmsystem.y
  374. $(SDKINC)\mmsystem.h: inc\mmsystem.x
  375. wcshdr < inc\mmsystem.x > $(SDKINC)\mmsystem.h
  376. media\winmm\mmsysp.h: inc\mmsysp.x
  377. wcshdr < inc\mmsysp.x > media\winmm\mmsysp.h
  378. $(SDKINC)\mmddk.h: inc\mmddk.h
  379. hsplit -lt2 Internal -e -o $(SDKINC)\mmddk.h nul inc\mmddk.h
  380. $(SDKINC)\digitalv.h: inc\digitalv.x
  381. wcshdr < inc\digitalv.x > $(SDKINC)\digitalv.h
  382. inc\conapi.h: inc\conapi.x
  383. wcshdr < inc\conapi.x > inc\conapi.h
  384. inc\ddeml.x inc\ddemlp.h: inc\ddeml.w
  385. hsplit -e -o inc\ddeml.x inc\ddemlp.h inc\ddeml.w
  386. $(SDKINC)\ddeml.h: inc\ddeml.x
  387. wcshdr < inc\ddeml.x > $(SDKINC)\ddeml.h
  388. $(SDKINC)\winver.h : inc\winver.x
  389. wcshdr < inc\winver.x > $(SDKINC)\winver.h
  390. $(SDKINC)\ddraw.h : inc\ddraw.x
  391. hsplit -o $(SDKINC)\ddraw.h nul -bt2 BEGIN_MSINTERNAL END_MSINTERNAL -c @@ inc\ddraw.x
  392. $(SDKINC)\dsound.h : inc\dsound.x
  393. hsplit -o $(SDKINC)\dsound.h nul -bt2 BEGIN_MSINTERNAL END_MSINTERNAL -c @@ inc\dsound.x
  394. $(D3DINC)\d3d.h : inc\d3d.x
  395. hsplit -o $(D3DINC)\d3d.h nul -bt2 BEGIN_MSINTERNAL END_MSINTERNAL -c @@ inc\d3d.x
  396. $(D3DINC)\d3dtypes.h : inc\d3dtypes.x
  397. hsplit -o $(D3DINC)\d3dtypes.h nul -bt2 BEGIN_MSINTERNAL END_MSINTERNAL -c @@ inc\d3dtypes.x
  398. $(D3DINC)\d3dcaps.h : inc\d3dcaps.x
  399. hsplit -o $(D3DINC)\d3dcaps.h nul -bt2 BEGIN_MSINTERNAL END_MSINTERNAL -c @@ inc\d3dcaps.x
  400. $(D3DINC)\d3drm.h : inc\d3drm.x
  401. hsplit -o $(D3DINC)\d3drm.h nul -bt2 BEGIN_MSINTERNAL END_MSINTERNAL -c @@ inc\d3drm.x
  402. $(D3DINC)\d3drmdef.h : inc\d3drmdef.x
  403. hsplit -o $(D3DINC)\d3drmdef.h nul -bt2 BEGIN_MSINTERNAL END_MSINTERNAL -c @@ inc\d3drmdef.x
  404. $(D3DINC)\d3drmobj.h : inc\d3drmobj.x
  405. hsplit -o $(D3DINC)\d3drmobj.h nul -bt2 BEGIN_MSINTERNAL END_MSINTERNAL -c @@ inc\d3drmobj.x
  406. $(D3DINC)\d3drmwin.h : inc\d3drmwin.x
  407. hsplit -o $(D3DINC)\d3drmwin.h nul -bt2 BEGIN_MSINTERNAL END_MSINTERNAL -c @@ inc\d3drmwin.x
  408. $(SDKINC)\subauth.h : $(SDKINC)\ntsam.h $(SDKINC)\ntstatus.h ..\inc\crypt.h ..\inc\logonmsv.h
  409. type << > $(SDKINC)\subauth.h
  410. /*++ BUILD Version: ???? Increment this if a change has global effects
  411. $(COPYRIGHT_STRING)
  412. Module Name:
  413. subauth.h
  414. Abstract:
  415. This module defines types and macros for Subauthentication Packages.
  416. Revision History:
  417. --*/
  418. #ifndef _NTSUBAUTH_
  419. #define _NTSUBAUTH_
  420. #ifdef __cplusplus
  421. extern "C" {
  422. #endif
  423. #ifndef _NTDEF_
  424. typedef LONG NTSTATUS, *PNTSTATUS;
  425. typedef struct _UNICODE_STRING {
  426. USHORT Length;
  427. USHORT MaximumLength;
  428. PWSTR Buffer;
  429. } UNICODE_STRING, *PUNICODE_STRING;
  430. typedef struct _STRING {
  431. USHORT Length;
  432. USHORT MaximumLength;
  433. PCHAR Buffer;
  434. } STRING, *PSTRING;
  435. typedef LARGE_INTEGER OLD_LARGE_INTEGER;
  436. typedef LARGE_INTEGER POLD_LARGE_INTEGER;
  437. #define NT_SUCCESS(Status) ((NTSTATUS)(Status) >= 0)
  438. #endif
  439. <<
  440. hextract -o $(SDKINC)\subauth.h -lt ntsubauth -bt begin_ntsubauth end_ntsubauth $(SDKINC)\ntsam.h
  441. hextract -o $(SDKINC)\subauth.h -lt ntsubauth -bt begin_ntsubauth end_ntsubauth ..\inc\crypt.h
  442. hextract -o $(SDKINC)\subauth.h -lt ntsubauth -bt begin_ntsubauth end_ntsubauth ..\inc\logonmsv.h
  443. hextract -o $(SDKINC)\subauth.h -lt ntsubauth -bt begin_ntsubauth end_ntsubauth $(SDKINC)\ntstatus.h
  444. type << >> $(SDKINC)\subauth.h
  445. #ifdef __cplusplus
  446. }
  447. #endif
  448. #endif /* _NTSUBAUTH_ */
  449. <<
  450. $(SDKINC)\ntsecapi.h : $(SDKINC)\ntlsa.h $(SDKINC)\ntsam.h
  451. type << > $(SDKINC)\ntsecapi.h
  452. /*++ BUILD Version: ???? Increment this if a change has global effects
  453. $(COPYRIGHT_STRING)
  454. Module Name:
  455. ntsecapi.h
  456. Abstract:
  457. This module defines the Local Security Authority APIs.
  458. Revision History:
  459. --*/
  460. #ifndef _NTSECAPI_
  461. #define _NTSECAPI_
  462. #ifdef __cplusplus
  463. extern "C" {
  464. #endif
  465. #ifndef _NTDEF_
  466. typedef LONG NTSTATUS, *PNTSTATUS;
  467. #endif
  468. <<
  469. hextract -o $(SDKINC)\ntsecapi.h -lt ntsecapi -bt begin_ntsecapi end_ntsecapi $(SDKINC)\ntlsa.h
  470. type << >> $(SDKINC)\ntsecapi.h
  471. #ifndef _NTDEF_
  472. typedef LSA_UNICODE_STRING UNICODE_STRING, *PUNICODE_STRING;
  473. #endif
  474. <<
  475. hextract -o $(SDKINC)\ntsecapi.h -lt ntsecapi -bt begin_ntsecapi end_ntsecapi $(SDKINC)\ntsam.h
  476. type << >> $(SDKINC)\ntsecapi.h
  477. #ifdef __cplusplus
  478. }
  479. #endif
  480. #endif /* _NTSECAPI_ */
  481. <<
  482. $(SDKINC)\lzexpand.h : inc\lzexpand.x
  483. wcshdr < inc\lzexpand.x > $(SDKINC)\lzexpand.h
  484. $(OAKINC)\dderror.h: $(DDERROR_DEPENDS)
  485. type << > $(OAKINC)\dderror.h
  486. /*++ BUILD Version: ???? Increment this if a change has global effects
  487. $(COPYRIGHT_STRING)
  488. Module Name:
  489. dderror.h
  490. Abstract:
  491. This module defines the 32-Bit Windows error codes that are useable by
  492. portable kernel drivers.
  493. Revision History:
  494. --*/
  495. #ifndef _DDERROR_
  496. #define _DDERROR_
  497. /*
  498. * This file is a subset of Win32 error codes. Other win32 error codes
  499. * are not supported by portable drivers and should not beused.
  500. * This #define removes the definitions of all other error codes.
  501. */
  502. #define _WINERROR_
  503. <<
  504. hextract -o $(OAKINC)\dderror.h -lt dderror -bt begin_dderror end_dderror $(DDERROR_DEPENDS)
  505. type << >> $(OAKINC)\dderror.h
  506. #endif /* _DDERROR_ */
  507. <<
  508. $(SDKINC)\wincrypt.h : inc\wincrypt.x
  509. wcshdr < inc\wincrypt.x > $(SDKINC)\wincrypt.h
  510. $(SDKINC)\winsock2.h : inc\winsock2.x
  511. ws2hdr < inc\winsock2.x | wcshdr > $(SDKINC)\winsock2.h
  512. $(SDKINC)\winresrc.h : $(WINRESRC_DEPENDS)
  513. type << > $@
  514. /*++ BUILD Version: ???? Increment this if a change has global effects
  515. $(COPYRIGHT_STRING)
  516. Module Name:
  517. winresrc.h
  518. Abstract:
  519. This module defines the 32-Bit Windows resource codes.
  520. Revision History:
  521. --*/
  522. #ifndef _WINRESRC_
  523. #define _WINRESRC_
  524. <<
  525. type << >> $@
  526. #include <winuser.rh>
  527. #include <commctrl.rh>
  528. #include <dde.rh>
  529. #include <winnt.rh>
  530. #include <dlgs.h>
  531. #include <winver.h>
  532. #endif /* _WINRESRC_ */
  533. <<
  534. type << > $(SDKINC)\winuser.rh
  535. /*++ BUILD Version: ???? Increment this if a change has global effects
  536. $(COPYRIGHT_STRING)
  537. Module Name:
  538. winuser.rh
  539. Abstract:
  540. This module defines the 32-Bit Windows resource codes from winuser.h.
  541. Revision History:
  542. --*/
  543. <<
  544. hextract -o $(SDKINC)\winuser.rh -lt r_winuser -bt begin_r_winuser end_r_winuser $(SDKINC)\winuser.h
  545. type << > $(SDKINC)\commctrl.rh
  546. /*++ BUILD Version: ???? Increment this if a change has global effects
  547. $(COPYRIGHT_STRING)
  548. Module Name:
  549. commctrl.rh
  550. Abstract:
  551. This module defines the 32-Bit Windows resource codes from commctrl.h.
  552. Revision History:
  553. --*/
  554. <<
  555. hextract -o $(SDKINC)\commctrl.rh -lt r_commctrl -bt begin_r_commctrl end_r_commctrl $(SDKINC)\commctrl.h
  556. type << > $(SDKINC)\dde.rh
  557. /*++ BUILD Version: ???? Increment this if a change has global effects
  558. $(COPYRIGHT_STRING)
  559. Module Name:
  560. dde.rh
  561. Abstract:
  562. This module defines the 32-Bit Windows resource codes from dde.h.
  563. Revision History:
  564. --*/
  565. <<
  566. hextract -o $(SDKINC)\dde.rh -lt r_dde -bt begin_r_dde end_r_dde $(SDKINC)\dde.h
  567. type << > $(SDKINC)\winnt.rh
  568. /*++ BUILD Version: ???? Increment this if a change has global effects
  569. $(COPYRIGHT_STRING)
  570. Module Name:
  571. winnt.rh
  572. Abstract:
  573. This module defines the 32-Bit Windows resource codes from winnt.h
  574. Revision History:
  575. --*/
  576. <<
  577. hextract -o $(SDKINC)\winnt.rh -lt r_winnt -bt begin_r_winnt end_r_winnt $(SDKINC)\ntdef.h
  578. !if 0
  579. hextract -o $@ -lt r_winuser -bt begin_r_winuser end_r_winuser $(SDKINC)\winuser.h
  580. hextract -o $@ -lt r_commctrl -bt begin_r_commctrl end_r_commctrl $(SDKINC)\commctrl.h
  581. hextract -o $@ -lt r_dde -bt begin_r_dde end_r_dde $(SDKINC)\dde.h
  582. hextract -o $@ -lt r_winnt -bt begin_r_winnt end_r_winnt $(SDKINC)\ntdef.h
  583. !endif