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

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

## NAME

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

## SYNOPSIS

void\* CDECL  MSVCRT\_\_\_RTCastToVoid\
  (\
   void\* *cppobj*\
  )

## DESCRIPTION

Dynamically cast a C++ object to a void\*.

## PARAMS

*cppobj* **\[In\]**  The C++ object to cast.

## RETURNS

**Success:** The base address of the object as a void\*.

**Failure:** **NULL**, if *cppobj* is **NULL** or has no **RTTI**.

## 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"**.
