Partager via


IKnownFolder::GetFolderType, méthode (shobjidl_core.h)

Récupère le type de dossier.

Syntaxe

HRESULT GetFolderType(
  [out] FOLDERTYPEID *pftid
);

Paramètres

[out] pftid

Type : FOLDERTYPEID*

Lorsque cette valeur est retournée, contient un pointeur vers un FOLDERTYPEID (guid) qui identifie le type de dossier connu.

Valeur retournée

Type : HRESULT

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

Spécifications

   
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 shobjidl_core.h (incluez Shobjidl.h)

Voir aussi

IKnownFolder

Dossiers connus, exemple