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.

82 lines
1.2 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. sporder.h
  5. Abstract:
  6. This header prototypes the 32-Bit Windows functions that are used
  7. to change the order or WinSock2 transport service providers and
  8. name space providers.
  9. Revision History:
  10. --*/
  11. #ifndef __SPORDER_H__
  12. #define __SPORDER_H__
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. int
  20. WSPAPI
  21. WSCWriteProviderOrder (
  22. IN LPDWORD lpwdCatalogEntryId,
  23. IN DWORD dwNumberOfEntries
  24. );
  25. typedef
  26. int
  27. (WSPAPI * LPWSCWRITEPROVIDERORDER)(
  28. IN LPDWORD lpwdCatalogEntryId,
  29. IN DWORD dwNumberOfEntries
  30. );
  31. #ifdef _WIN64
  32. int
  33. WSPAPI
  34. WSCWriteProviderOrder32 (
  35. IN LPDWORD lpwdCatalogEntryId,
  36. IN DWORD dwNumberOfEntries
  37. );
  38. #endif
  39. int
  40. WSPAPI
  41. WSCWriteNameSpaceOrder (
  42. IN LPGUID lpProviderId,
  43. IN DWORD dwNumberOfEntries
  44. );
  45. typedef
  46. int
  47. (WSPAPI * LPWSCWRITENAMESPACEORDER)(
  48. IN LPGUID lpProviderId,
  49. IN DWORD dwNumberOfEntries
  50. );
  51. #ifdef _WIN64
  52. int
  53. WSPAPI
  54. WSCWriteNameSpaceOrder32 (
  55. IN LPGUID lpProviderId,
  56. IN DWORD dwNumberOfEntries
  57. );
  58. #endif
  59. #ifdef __cplusplus
  60. }
  61. #endif
  62. #endif // __SPORDER_H__