Partager via


fonction IStream_WriteStr (shlwapi.h)

Lit à partir d’une chaîne et écrit dans un flux.

Syntaxe

LWSTDAPI IStream_WriteStr(
  [in] IStream *pstm,
  [in] PCWSTR  psz
);

Paramètres

[in] pstm

Type : IStream*

Pointeur vers le flux dans lequel écrire.

[in] psz

Type : PCWSTR

Pointeur vers une chaîne Unicode terminée par null à partir de laquelle lire.

Valeur retournée

Type : HRESULT

Si cette fonction réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

Condition requise Valeur
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau uniquement]
Plateforme cible Windows
En-tête shlwapi.h
DLL Shlwapi.dll