---
name: "VarMonthName"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/VarMonthName"
---

# VarMonthName(3w)

## NAME

**VarMonthName** (OLEAUT32.129)

## SYNOPSIS

HRESULT VarMonthName\
  (\
   INT   *iMonth*,\
   INT   *fAbbrev*,\
   ULONG *dwFlags*,\
   BSTR\* *pbstrOut*\
  )

## DESCRIPTION

Print the specified month as localized name.

## PARAMS

*iMonth* **\[In\]**  month number **1..12.**

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

*dwFlags* **\[In\]**  flag stuff. only **VAR\_CALENDAR\_HIJRI** possible.

*pbstrOut* **\[Out\]**  Destination for month 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"**.
