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.

74 lines
1.4 KiB

  1. #include "adminpch.h"
  2. #pragma hdrstop
  3. #include <msi.h>
  4. static
  5. INSTALLSTATE
  6. WINAPI
  7. MsiGetComponentPathW(LPCWSTR szProduct,
  8. LPCWSTR szComponent,
  9. LPWSTR lpPathBuf,
  10. DWORD *pcchBuf)
  11. {
  12. return INSTALLSTATE_UNKNOWN;
  13. }
  14. static
  15. UINT
  16. WINAPI
  17. MsiGetProductInfoW(LPCWSTR szProduct,
  18. LPCWSTR szAttribute,
  19. LPWSTR lpValueBuf,
  20. DWORD *pcchValueBuf)
  21. {
  22. return ERROR_PROC_NOT_FOUND;
  23. }
  24. static
  25. INSTALLSTATE
  26. WINAPI
  27. MsiQueryFeatureStateFromDescriptorW(LPCWSTR szDescriptor)
  28. {
  29. return INSTALLSTATE_UNKNOWN;
  30. }
  31. static
  32. INSTALLSTATE
  33. WINAPI
  34. MsiQueryFeatureStateW(LPCWSTR szProduct, LPCWSTR szFeature)
  35. {
  36. return INSTALLSTATE_UNKNOWN;
  37. }
  38. static
  39. UINT
  40. WINAPI
  41. MsiDecomposeDescriptorW(LPCWSTR szDescriptor,
  42. LPWSTR szProductCode,
  43. LPWSTR szFeatureId,
  44. LPWSTR szComponentCode,
  45. DWORD* pcchArgsOffset)
  46. {
  47. return ERROR_PROC_NOT_FOUND;
  48. }
  49. //
  50. // !! WARNING !! The entries below must be in order by ORDINAL
  51. //
  52. DEFINE_ORDINAL_ENTRIES(msi)
  53. {
  54. DLOENTRY(70, MsiGetProductInfoW)
  55. DLOENTRY(111, MsiQueryFeatureStateW)
  56. DLOENTRY(173, MsiGetComponentPathW)
  57. DLOENTRY(188, MsiQueryFeatureStateFromDescriptorW)
  58. DLOENTRY(201, MsiDecomposeDescriptorW)
  59. };
  60. DEFINE_ORDINAL_MAP(msi);