qshelpr.h
Upload User: caisha3
Upload Date: 2013-09-21
Package Size: 208739k
Code Size: 2k
Category:

Windows Develop

Development Platform:

Visual C++

  1. /*++
  2.     Intel Corporation Proprietary Information
  3.     Copyright (c) 1995 Intel Corporation
  4.     This listing is supplied under the terms of a license agreement with
  5.     Intel Corporation and may not be used, copied, nor disclosed except in
  6.     accordance with the terms of that agreeement.
  7. Module Name:
  8.     qshelpr.h
  9. Abstract:
  10.     This  file contains the definitions of the procedures exported by the query
  11.     set helper module for internal use within the WinSock 2 DLL.
  12. Author:
  13.     Paul Drews (drewsxpa@ashland.intel.com) 11-Jan-1996
  14. Notes:
  15.     $Revision:   1.2  $
  16.     $Modtime:   18 Jan 1996 11:22:32  $
  17. Revision History:
  18.     most-recent-revision-date email-name
  19.         description
  20.     11-Jan-1996 drewsxpa@ashland.intel.com
  21.         Created original version
  22. --*/
  23. #ifndef _QSHELPR_
  24. #define _QSHELPR_
  25. #include "winsock2.h"
  26. #include <windows.h>
  27. INT
  28. MapAnsiQuerySetToUnicode(
  29.     IN     LPWSAQUERYSETA  Source,
  30.     IN OUT LPDWORD         lpTargetSize,
  31.     OUT    LPWSAQUERYSETW  Target
  32.     );
  33. INT
  34. MapUnicodeQuerySetToAnsi(
  35.     IN     LPWSAQUERYSETW  Source,
  36.     IN OUT LPDWORD         lpTargetSize,
  37.     OUT    LPWSAQUERYSETA  Target
  38.     );
  39. INT
  40. CopyQuerySetA(
  41.     IN LPWSAQUERYSETA  Source,
  42.     OUT LPWSAQUERYSETA *Target
  43.     );
  44. CopyQuerySetW(
  45.     IN LPWSAQUERYSETW  Source,
  46.     OUT LPWSAQUERYSETW *Target
  47.     );
  48. LPWSTR
  49. wcs_dup_from_ansi(
  50.     IN LPSTR  Source
  51.     );
  52. LPSTR
  53. ansi_dup_from_wcs(
  54.     IN LPWSTR  Source
  55.     );
  56. #endif // _QSHELPR_