home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / sporder.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.0 KB  |  68 lines

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