Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the date and time value at a specified property to a given FILETIME. All times are stored and returned as Coordinated Universal Time (UTC).
Syntax
HRESULT SetDate(
[in] LPCWSTR pszPropertyName,
[in] DWORD dwFlags,
[in] FILETIME ftDateTime
);
Parameters
[in] pszPropertyName
Type: LPCWSTR
Specifies the property to set.
[in] dwFlags
Type: DWORD
CGD_DEFAULT can be used to create or overwrite value at pszPropertyName.
[in] ftDateTime
Type: FILETIME
FILETIME structure to use for date.
Return value
Type: HRESULT
Returns one of the following values:
Return code | Description |
---|---|
|
Value is set at this property. |
|
Property name invalid for set. |
|
Unable to set the value for this property due to schema. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | icontact.h (include Contact.h) |
DLL | Wab32.dll (Version 6.0 or later) |