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.

23 lines
695 B

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dpvxchar.h
  6. * Content: Useful char utility functions for sample apps
  7. *
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 10/07/99 rodtoll Created It
  12. *
  13. ***************************************************************************/
  14. #ifndef __DPVXCHAR_H
  15. #define __DPVXCHAR_H
  16. // Conversion Functions
  17. extern int DPVDX_WideToAnsi(LPSTR lpStr,LPWSTR lpWStr,int cchStr);
  18. extern HRESULT DPVDX_AllocAndConvertToANSI(LPSTR * ppszAnsi,LPWSTR lpszWide);
  19. extern int DPVDX_AnsiToWide(LPWSTR lpWStr,LPSTR lpStr,int cchWStr);
  20. #endif