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

# MSVCRT\_\_\_RTtypeid(3w)

## NAME

**MSVCRT\_\_\_RTtypeid** (MSVCRT.@)

## SYNOPSIS

const type\_info\* CDECL  MSVCRT\_\_\_RTtypeid\
  (\
   void\* *cppobj*\
  )

## DESCRIPTION

Retrieve the Run Time Type Information (**RTTI**) for a C++ object.

## PARAMS

*cppobj* **\[In\]**  C++ object to get type information for.

## RETURNS

**Success:** A type\_info object describing *cppobj*.

**Failure:** If the object to be cast has no **RTTI**, a \_\_non\_rtti\_object exception is thrown. If *cppobj* is **NULL**, a bad\_typeid exception is thrown. In either case, this function does not return.

## NOTES

This function is usually called by compiler generated code as a result of using one of the C++ dynamic cast statements.

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/msvcrt/cpp.c"**.

Debug channel **"msvcrt"**.
