Partager via


AMGetWideString (Compact 2013)

3/26/2014

This function allocates and creates a Unicode version of an existing non-Unicode string.

Syntax

STDAPI AMGetWideString(
  LPCWSTR pszString,
  LPWSTR* ppszReturn
);

Parameters

  • pszString
    Non-Unicode source string.
  • ppszReturn
    Address of a Unicode string that will contain pszString.

Return Value

Returns S_OK if successful, E_POINTER if ppszReturn is NULL, or E_OUTOFMEMORY

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

String Functions (DirectShow)