Previous | Next |
The GetDate method retrieves the date on which the storage object (file or folder) was most recently modified.
Syntax
HRESULT GetDate(
PWMDMDATETIME pDisplayDate
);
Parameters
pDisplayDate
[out] Pointer to a WMDMDATETIME structure containing the date on which the file or folder was most recently modified.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Description |
E_INVALIDARG | The pDisplayDate parameter is an invalid or NULL pointer. |
E_FAIL | An unspecified error occurred. |
Remarks
The time is specified in coordinated universal time.
See Also
Previous | Next |