IShellItemResources::SetTimes-Methode (shobjidl_core.h)

Legt die Dateizeiten fest.

Syntax

HRESULT SetTimes(
  [in] const FILETIME *pftCreation,
  [in] const FILETIME *pftWrite,
  [in] const FILETIME *pftAccess
);

Parameter

[in] pftCreation

Typ: const FILETIME*

Ein Zeiger auf ein Erstellungsdatum und eine Erstellungszeit als FILETIME-Struktur .

[in] pftWrite

Typ: const FILETIME*

Ein Zeiger auf ein Schreibdatum und eine Schreibzeit als FILETIME-Struktur .

[in] pftAccess

Typ: const FILETIME*

Ein Zeiger auf ein Zugriffsdatum und eine -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 (shobjidl.h einschließen)