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.

162 lines
3.3 KiB

  1. /*++
  2. Copyright (c) 1989-1993 Microsoft Corporation
  3. Module Name:
  4. lfn.c
  5. Abstract:
  6. Provides entry points for the Long Name Functions from Win3.1
  7. Network provider design.
  8. All functions return WN_NOT_SUPPORTED
  9. Author:
  10. Chuck Y Chan (ChuckC) 25-Mar-1993
  11. Revision History:
  12. --*/
  13. #include <windows.h>
  14. #include <locals.h>
  15. WORD API LFNFindFirst(LPSTR p1,
  16. WORD p2,
  17. LPINT p3,
  18. LPINT p4,
  19. WORD p5,
  20. PFILEFINDBUF2 p6)
  21. {
  22. UNREFERENCED(p1) ;
  23. UNREFERENCED(p2) ;
  24. UNREFERENCED(p3) ;
  25. UNREFERENCED(p4) ;
  26. UNREFERENCED(p5) ;
  27. UNREFERENCED(p6) ;
  28. vLastCall = LAST_CALL_IS_LOCAL ;
  29. return (SetLastError(WN_NOT_SUPPORTED)) ;
  30. }
  31. WORD API LFNFindNext(HANDLE p1,
  32. LPINT p2,
  33. WORD p3,
  34. PFILEFINDBUF2 p4)
  35. {
  36. UNREFERENCED(p1) ;
  37. UNREFERENCED(p2) ;
  38. UNREFERENCED(p3) ;
  39. UNREFERENCED(p4) ;
  40. vLastCall = LAST_CALL_IS_LOCAL ;
  41. return (SetLastError(WN_NOT_SUPPORTED)) ;
  42. }
  43. WORD API LFNFindClose(HANDLE p1)
  44. {
  45. UNREFERENCED(p1) ;
  46. vLastCall = LAST_CALL_IS_LOCAL ;
  47. return (SetLastError(WN_NOT_SUPPORTED)) ;
  48. }
  49. WORD API LFNGetAttributes(LPSTR p1,
  50. LPINT p2)
  51. {
  52. UNREFERENCED(p1) ;
  53. UNREFERENCED(p2) ;
  54. vLastCall = LAST_CALL_IS_LOCAL ;
  55. return (SetLastError(WN_NOT_SUPPORTED)) ;
  56. }
  57. WORD API LFNSetAttributes(LPSTR p1,
  58. WORD p2)
  59. {
  60. UNREFERENCED(p1) ;
  61. UNREFERENCED(p2) ;
  62. vLastCall = LAST_CALL_IS_LOCAL ;
  63. return (SetLastError(WN_NOT_SUPPORTED)) ;
  64. }
  65. WORD API LFNCopy(LPSTR p1,
  66. LPSTR p2,
  67. PQUERYPROC p3)
  68. {
  69. UNREFERENCED(p1) ;
  70. UNREFERENCED(p2) ;
  71. UNREFERENCED(p3) ;
  72. vLastCall = LAST_CALL_IS_LOCAL ;
  73. return (SetLastError(WN_NOT_SUPPORTED)) ;
  74. }
  75. WORD API LFNMove(LPSTR p1,
  76. LPSTR p2)
  77. {
  78. UNREFERENCED(p1) ;
  79. UNREFERENCED(p2) ;
  80. vLastCall = LAST_CALL_IS_LOCAL ;
  81. return (SetLastError(WN_NOT_SUPPORTED)) ;
  82. }
  83. WORD API LFNDelete(LPSTR p1)
  84. {
  85. UNREFERENCED(p1) ;
  86. vLastCall = LAST_CALL_IS_LOCAL ;
  87. return (SetLastError(WN_NOT_SUPPORTED)) ;
  88. }
  89. WORD API LFNMKDir(LPSTR p1)
  90. {
  91. UNREFERENCED(p1) ;
  92. vLastCall = LAST_CALL_IS_LOCAL ;
  93. return (SetLastError(WN_NOT_SUPPORTED)) ;
  94. }
  95. WORD API LFNRMDir(LPSTR p1)
  96. {
  97. UNREFERENCED(p1) ;
  98. vLastCall = LAST_CALL_IS_LOCAL ;
  99. return (SetLastError(WN_NOT_SUPPORTED)) ;
  100. }
  101. WORD API LFNGetVolumeLabel(WORD p1,
  102. LPSTR p2)
  103. {
  104. UNREFERENCED(p1) ;
  105. UNREFERENCED(p2) ;
  106. vLastCall = LAST_CALL_IS_LOCAL ;
  107. return (SetLastError(WN_NOT_SUPPORTED)) ;
  108. }
  109. WORD API LFNSetVolumeLabel(WORD p1,
  110. LPSTR p2)
  111. {
  112. UNREFERENCED(p1) ;
  113. UNREFERENCED(p2) ;
  114. vLastCall = LAST_CALL_IS_LOCAL ;
  115. return (SetLastError(WN_NOT_SUPPORTED)) ;
  116. }
  117. WORD API LFNParse(LPSTR p1,
  118. LPSTR p2,
  119. LPSTR p3)
  120. {
  121. UNREFERENCED(p1) ;
  122. UNREFERENCED(p2) ;
  123. UNREFERENCED(p3) ;
  124. vLastCall = LAST_CALL_IS_LOCAL ;
  125. return (SetLastError(WN_NOT_SUPPORTED)) ;
  126. }
  127. WORD API LFNVolumeType(WORD p1,
  128. LPINT p2)
  129. {
  130. UNREFERENCED(p1) ;
  131. UNREFERENCED(p2) ;
  132. vLastCall = LAST_CALL_IS_LOCAL ;
  133. return (SetLastError(WN_NOT_SUPPORTED)) ;
  134. }