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.

89 lines
2.5 KiB

  1. __foldwin32sstuff __foldwin32sstuff;
  2. /****
  3. **foldstyleinitialization = true;
  4. ****/
  5. win31compat = true; //Prevents MPR.DLL from unloading prematurely
  6. enablemapdirect1632 = true;
  7. defaultholdwin16lock = false;
  8. #include "types.thk"
  9. DWORD HelperWNetAddConnection(LPSTR szNetPath, LPSTR szPassWord, LPSTR szLocalName) =
  10. DWORD WNetAddConnectionA(LPSTR szNetPath, LPSTR szPassWord, LPSTR szLocalName)
  11. {}
  12. DWORD HelperWNetCancelConnection(LPSTR szName, BOOL fForce) =
  13. DWORD WNetCancelConnectionA(LPSTR szName, BOOL fForce)
  14. {}
  15. DWORD HelperWNetGetConnection(LPSTR szLocalName, LPSTR lpRemoteName, LPWORD nBufferSize) =
  16. DWORD WNetGetConnectionA(LPSTR szLocalName, LPSTR lpRemoteName, LPDWORD nBufferSize)
  17. {
  18. /* LPWORD gets mapped onto LPDWORD. On entry this points to the length of the
  19. * buffer. On exit, it contains the length of RemoteName.
  20. * So, it is marked as "inout".
  21. */
  22. nBufferSize = inout;
  23. }
  24. WORD HelperWNetGetCaps(WORD wIndex) =
  25. DWORD UserWNetGetCaps(DWORD wIndex)
  26. {}
  27. WORD HelperWNetInitialize() =
  28. WORD WNetInitialize()
  29. {}
  30. DWORD UserWNetSystemNotify(DWORD dwFlags, UINT uiMessage, WORD wParam, DWORD lParam) =
  31. DWORD UserWNetSystemNotify(DWORD dwFlags, UINT uiMessage, DWORD wParam, DWORD lParam)
  32. {}
  33. DWORD HelperWNetGetError(LPWORD lpnError) =
  34. DWORD UserWNetGetError(LPWORD lpnError)
  35. {
  36. lpnError = output;
  37. }
  38. DWORD HelperWNetGetErrorText(WORD nError, LPSTR lpBuff, LPWORD lpBuffSize) =
  39. DWORD UserWNetGetErrorText(WORD nError, LPSTR lpBuff, LPWORD lpBuffSize)
  40. {
  41. lpBuffSize = inout;
  42. }
  43. DWORD HelperWNetLogon(LPSTR lpProvider, HWND hwndOwner) =
  44. DWORD HelperWNetLogon(LPSTR lpProvider, HWND hwndOwner)
  45. {
  46. }
  47. DWORD HelperWNetBrowseDialog(HWND hParent, WORD nType, LPSTR lpBuff) =
  48. DWORD UserWNetBrowseDialog(HWND hParent, DWORD nType, LPSTR lpBuff)
  49. {
  50. lpBuff = output;
  51. }
  52. DWORD HelperWNetConnectDialog(HWND hParent, WORD nType) =
  53. DWORD UserWNetConnectDialog(HWND hParent, DWORD nType)
  54. {}
  55. DWORD HelperWNetConnectionDialog(HWND hParent, WORD nType) =
  56. DWORD UserWNetConnectionDialog(HWND hParent, DWORD nType)
  57. {}
  58. DWORD HelperWNetDisconnectDialog(HWND hParent, WORD nType) =
  59. DWORD UserWNetDisconnectDialog(HWND hParent, DWORD nType)
  60. {}
  61. DWORD HelperWNetGetUser(LPSTR szConnectionName, LPSTR lpUserName, LPWORD nBufferSize) =
  62. DWORD WNetGetUserA(LPSTR szConnectionName, LPSTR lpUserName, LPDWORD nBufferSize)
  63. {
  64. /* LPWORD gets mapped onto LPDWORD. On entry this points to the length of the
  65. * buffer. On exit, it contains the length of lpUserName.
  66. * So, it is marked as "inout".
  67. */
  68. nBufferSize = inout;
  69. }