Share via


IShellItemResources::GetTimes-Methode (shobjidl_core.h)

Ruft Dateizeiten ab.

Syntax

HRESULT GetTimes(
  [out] FILETIME *pftCreation,
  [out] FILETIME *pftWrite,
  [out] FILETIME *pftAccess
);

Parameter

[out] pftCreation

Typ: FILETIME*

Ein Zeiger auf das Erstellungsdatum und die Erstellungszeit als FILETIME-Struktur .

[out] pftWrite

Typ: FILETIME*

Ein Zeiger zum Schreiben von Datum und Uhrzeit als FILETIME-Struktur .

[out] pftAccess

Typ: FILETIME*

Ein Zeiger auf Datum und Uhrzeit als FILETIME-Struktur .

Rückgabewert

Typ: HRESULT

Wenn diese Methode erfolgreich ist, wird S_OK zurückgegeben. Andernfalls wird ein Fehlercode HRESULT zurückgegeben.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows Vista [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2008 [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile shobjidl_core.h (einschließlich Shobjidl.h)