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.

49 lines
1.5 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2002
  5. //
  6. // File: DynMpr.hxx
  7. //
  8. // Contents: Macro for Dynamically loading/unloading MPR entry points
  9. //
  10. // History: 09-Feb-02 dlee Created
  11. //
  12. //---------------------------------------------------------------------------
  13. #pragma once
  14. DeclDynLoad5( Mpr,
  15. WNetOpenEnumW,
  16. DWORD,
  17. APIENTRY,
  18. ( DWORD dwScope, DWORD dwType, DWORD dwUsage, LPNETRESOURCEW lpNetResource, LPHANDLE lphEnum ),
  19. ( dwScope, dwType, dwUsage, lpNetResource, lphEnum ),
  20. WNetEnumResourceW,
  21. DWORD,
  22. APIENTRY,
  23. ( HANDLE hEnum, LPDWORD lpcCount, LPVOID lpBuffer, LPDWORD lpBufferSize ),
  24. ( hEnum, lpcCount, lpBuffer, lpBufferSize ),
  25. WNetCloseEnum,
  26. DWORD,
  27. APIENTRY,
  28. ( HANDLE hEnum ),
  29. ( hEnum ),
  30. WNetGetResourceInformationW,
  31. DWORD,
  32. APIENTRY,
  33. ( LPNETRESOURCEW lpNetResource, LPVOID lpBuffer, LPDWORD lpcbBuffer, LPWSTR * lplpSystem ),
  34. ( lpNetResource, lpBuffer, lpcbBuffer, lplpSystem ),
  35. WNetGetNetworkInformationW,
  36. DWORD,
  37. APIENTRY,
  38. ( LPCWSTR lpProvider, LPNETINFOSTRUCT lpNetInfoStruct ),
  39. ( lpProvider, lpNetInfoStruct )
  40. );