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

# ITypeInfo2\_GetDocumentation2(3w)

## NAME

**ITypeInfo2\_GetDocumentation2** (OLEAUT32.@)

## SYNOPSIS

static HRESULT ITypeInfo2\_GetDocumentation2\
  (\
   ITypeInfo2\* *iface*,\
   MEMBERID    *memid*,\
   LCID        *lcid*,\
   BSTR\*       *pbstrHelpString*,\
   DWORD\*      *pdwHelpStringContext*,\
   BSTR\*       *pbstrHelpStringDll*\
  )

## PARAMS

*iface* **\[In\]**  The TypeInfo to retrieve the documentation from.

*memid* **\[In\]**  The member Id (why?).

*lcid* **\[In\]**  The locale (why?).

*pbstrHelpString* **\[Out\]**  The help string.

*pdwHelpStringContext* **\[Out\]**  The help string context.

*pbstrHelpStringDll* **\[Out\]**  The help file name.

## DESCRIPTION

Gets some documentation from a TypeInfo in a locale-aware fashion.

## RETURNS

**Success:** **S\_OK**.

**Failure:** One of **STG\_E\_INSUFFICIENTMEMORY** or **E\_INVALIDARG**.

## IMPLEMENTATION

Declared in **"oaidl.h"**.

Implemented in **"dlls/oleaut32/typelib2.c"**.

Debug channel **"ole"**.
