Leaked source code of windows server 2003
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.

85 lines
1.3 KiB

  1. #include "shellpch.h"
  2. #pragma hdrstop
  3. #define _LINKINFO_
  4. #include <linkinfo.h>
  5. static
  6. LINKINFOAPI
  7. BOOL
  8. WINAPI
  9. CreateLinkInfoW(
  10. LPCWSTR psz,
  11. PLINKINFO* pli
  12. )
  13. {
  14. return FALSE;
  15. }
  16. static
  17. LINKINFOAPI
  18. BOOL
  19. WINAPI
  20. GetLinkInfoData(
  21. PCLINKINFO pcli,
  22. LINKINFODATATYPE lidt,
  23. const VOID** ppv
  24. )
  25. {
  26. return FALSE;
  27. }
  28. static
  29. LINKINFOAPI
  30. BOOL
  31. WINAPI
  32. IsValidLinkInfo(
  33. PCLINKINFO pcli
  34. )
  35. {
  36. // If you can't load LinkInfo then just declare all linkinfo structures
  37. // invalid because you can't use them anyway
  38. return FALSE;
  39. }
  40. static
  41. LINKINFOAPI
  42. BOOL
  43. WINAPI
  44. ResolveLinkInfoW(
  45. PCLINKINFO pcli,
  46. LPWSTR pszResolvedPathBuf,
  47. DWORD dwInFlags,
  48. HWND hwndOwner,
  49. PDWORD pdwOutFlags,
  50. PLINKINFO *ppliUpdated
  51. )
  52. {
  53. return FALSE;
  54. }
  55. static
  56. LINKINFOAPI
  57. void
  58. WINAPI
  59. DestroyLinkInfo(
  60. PLINKINFO pli
  61. )
  62. {
  63. // leak it since it comes from a private heap
  64. }
  65. //
  66. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  67. //
  68. DEFINE_PROCNAME_ENTRIES(linkinfo)
  69. {
  70. DLPENTRY(CreateLinkInfoW)
  71. DLPENTRY(DestroyLinkInfo)
  72. DLPENTRY(GetLinkInfoData)
  73. DLPENTRY(IsValidLinkInfo)
  74. DLPENTRY(ResolveLinkInfoW)
  75. };
  76. DEFINE_PROCNAME_MAP(linkinfo)