VarWeekdayName(3w)

VarWeekdayName3w

Usage

HRESULT VarWeekdayName
(
INT iWeekday,
INT fAbbrev,
INT iFirstDay,
ULONG dwFlags,
BSTR* pbstrOut
)

Overview

Print the specified weekday as localized name.

Params

iWeekday [In] day of week, 1..7, 1="the first day of the week".

fAbbrev [In] 0 - full name, !0 - abbreviated name.

iFirstDay [In] first day of week, 0=system default, 1=Sunday, 2=Monday, .. (contrary to MSDN).

dwFlags [In] flag stuff. only VAR_CALENDAR_HIJRI possible.

pbstrOut [Out] Destination for weekday name.

Returns

Success: S_OK, pbstrOut contains the name.

Failure: E_INVALIDARG, if any parameter is invalid. E_OUTOFMEMORY, if enough memory cannot be allocated.

Implementation

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/varformat.c".

Debug channel "variant".

Releases

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 6.0
  3. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.