MSVCRT___RTDynamicCast(3w)

NAME

MSVCRT___RTDynamicCast (MSVCRT.@)

SYNOPSIS

void* CDECL  MSVCRT___RTDynamicCast
 (
  void*      cppobj,
  int        unknown,
  type_info* src,
  type_info* dst,
  int        do_throw
 )

DESCRIPTION

Dynamically cast a C++ object to one of its base classes.

PARAMS

cppobj [In] Any C++ object to cast.

unknown [In] Reserved, set to 0.

src [In] type_info object describing cppobj.

dst [In] type_info object describing the base class to cast to.

do_throw [In] TRUE = throw an exception if the cast fails, FALSE = don't.

RETURNS

Success: The address of cppobj, cast to the object described by dst.

Failure: NULL, If the object to be cast has no RTTI, or dst is not a valid cast for cppobj. If do_throw is TRUE, a bad_cast exception is thrown and 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 defined in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/msvcrt/cpp.c".

Debug channel "msvcrt".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout