Source code of Windows XP (NT5)
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.

41 lines
1.1 KiB

  1. @if "%_ECHO_%"=="" @echo off
  2. if "%1"=="" goto error
  3. rem if "%2"=="" goto error
  4. echo Processing resource.h into %1
  5. echo // DHCPSNAP Identifiers >>%1
  6. rem commented out because we don't have help for menus
  7. rem echo Adding Commands (ID_* and IDM_*)
  8. rem echo // Commands (ID_* and IDM_*) >>%1
  9. rem makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>%1
  10. rem echo. >>%1
  11. rem commented out because we don't have help for resources
  12. rem echo Adding Resources (IDR_*)
  13. rem echo // Resources (IDR_*) >>%1
  14. rem makehm IDR_,HIDR_,0x20000 resource.h >>%1
  15. rem echo. >>%1
  16. echo Adding Dialogs (IDD_*)
  17. echo // Dialogs (IDD_*) >>%1
  18. makehm IDD_,HIDD_,0x20000 resource.h >>%1
  19. echo. >>%1
  20. echo Adding Property Pages (IDP_*)
  21. echo // Property Pages (IDP_*) >>%1
  22. makehm IDP_,HIDP_,0x30000 resource.h >>%1
  23. echo. >>%1
  24. echo Adding Wizard Pages (IDW_*)
  25. echo // Wizard Pages (IDW_*) >>%1
  26. makehm IDW_,HIDW_,0x40000 resource.h >>%1
  27. echo. >>%1
  28. echo Adding Controls (IDC_*) (quick tips help)
  29. echo // Controls (IDC_*) >>%1
  30. makehm IDC_,HIDC_,0x50000 resource.h >>%1
  31. echo.
  32. goto end
  33. :error
  34. echo usage: dohm [hmfile]
  35. :end
  36. echo.