Skip to content

Latest commit

 

History

History
84 lines (54 loc) · 2.53 KB

updatecalendardayofweek.md

File metadata and controls

84 lines (54 loc) · 2.53 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Deprecated. Gets the day of the week that corresponds to a specified day and populates the DayOfWeek member in the specified CALDATETIME structure with that value.
b9ae250a-73bb-4ec2-bb0d-e1f8b25c173c
UpdateCalendarDayOfWeek function
reference
05/31/2018
APIRef
kbSyntax
UpdateCalendarDayOfWeek
DllExport
Kernel32.dll
API-MS-Win-Core-calendar-l1-1-0.dll
kernel32legacy.dll

UpdateCalendarDayOfWeek function

Deprecated. Gets the day of the week that corresponds to a specified day and populates the DayOfWeek member in the specified CALDATETIME structure with that value.

Syntax

BOOL UpdateCalendarDayOfWeek(
  _Inout_ LPCALDATETIME lpCalDateTime
);

Parameters

lpCalDateTime [in, out]

Pointer to the CALDATETIME structure containing the date for which to set the day of the week.

Return value

Returns TRUE if successful or FALSE otherwise. To get extended error information, the application can call GetLastError, which can return one of the following error codes:

  • ERROR_DATE_OUT_OF_RANGE. The specified date was out of range.
  • ERROR_INVALID_PARAMETER. Any of the parameter values was invalid.

Remarks

This function does not have an associated header file or library file. The application can call LoadLibrary with the DLL name (Kernel32.dll) to obtain a module handle. It can then call GetProcAddress with that module handle and the name of this function to get the function address.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Kernel32.dll

See also

National Language Support

National Language Support Functions

CALDATETIME