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.

75 lines
1.0 KiB

  1. #include "shellpch.h"
  2. #pragma hdrstop
  3. #include <fdi.h>
  4. static
  5. BOOL
  6. FAR DIAMONDAPI
  7. FDICopy (
  8. HFDI hfdi,
  9. char FAR *pszCabinet,
  10. char FAR *pszCabPath,
  11. int flags,
  12. PFNFDINOTIFY pfnfdin,
  13. PFNFDIDECRYPT pfnfdid,
  14. void FAR *pvUser
  15. )
  16. {
  17. return FALSE;
  18. }
  19. static
  20. HFDI
  21. FAR DIAMONDAPI
  22. FDICreate (
  23. PFNALLOC pfnalloc,
  24. PFNFREE pfnfree,
  25. PFNOPEN pfnopen,
  26. PFNREAD pfnread,
  27. PFNWRITE pfnwrite,
  28. PFNCLOSE pfnclose,
  29. PFNSEEK pfnseek,
  30. int cpuType,
  31. PERF perf
  32. )
  33. {
  34. return NULL;
  35. }
  36. static
  37. BOOL
  38. FAR DIAMONDAPI
  39. FDIDestroy (
  40. HFDI hfdi
  41. )
  42. {
  43. return FALSE;
  44. }
  45. static
  46. BOOL
  47. FAR DIAMONDAPI
  48. FDIIsCabinet (
  49. HFDI hfdi,
  50. INT_PTR hf,
  51. PFDICABINETINFO pfdici
  52. )
  53. {
  54. return FALSE;
  55. }
  56. //
  57. // !! WARNING !! The entries below must be in order by ORDINAL
  58. //
  59. DEFINE_ORDINAL_ENTRIES(cabinet)
  60. {
  61. DLOENTRY(20, FDICreate)
  62. DLOENTRY(21, FDIIsCabinet)
  63. DLOENTRY(22, FDICopy)
  64. DLOENTRY(23, FDIDestroy)
  65. };
  66. DEFINE_ORDINAL_MAP(cabinet)