Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 3.39 KB

obsolete-functions.md

File metadata and controls

47 lines (40 loc) · 3.39 KB
title description ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
Obsolete functions
Lists the obsolete functions that have been deprecated and removed from the Microsoft C runtime library (CRT).
4/2/2020
_beep
_sleep
_loaddll
_getdllprocaddr
_seterrormode
is_wctype
_getsystime
_setsystime
_unloaddll
_o__beep
_o__getdllprocaddr
_o__getsystime
_o__loaddll
_o__seterrormode
_o__setsystime
_o__sleep
_o__unloaddll
_o_is_wctype
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
api-ms-win-crt-process-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-time-l1-1-0.dll
DLLExport
apiref
is_wctype
_loaddll
_unloaddll
_getdllprocaddr
_seterrormode
_beep
_sleep
_getsystime
corecrt_wctype/is_wctype
process/_loaddll
process/_unloaddll
process/_getdllprocaddr
stdlib/_seterrormode
stdlib/_beep
stdlib/_sleep
time/_getsystime
time/_setsystime
obsolete functions
_beep function
_sleep function
_seterrormode function
8e14c2d4-1481-4240-8586-47eb43db02b0

Obsolete functions

Certain library functions are obsolete and have more recent equivalents. We recommend you change these functions to the updated versions. Other obsolete functions have been removed from the CRT. This article lists the functions deprecated as obsolete, and the functions removed in a particular version of Visual Studio.

Deprecated as obsolete in Visual Studio 2015

Obsolete function Alternative
is_wctype iswctype
_loaddll LoadLibrary, LoadLibraryEx, or LoadPackagedLibrary
_unloaddll FreeLibrary
_getdllprocaddr GetProcAddress
_seterrormode SetErrorMode
_beep Beep
_sleep Sleep
_getsystime GetLocalTime
_setsystime SetLocalTime

Removed from the CRT in Visual Studio 2015

Obsolete function Alternative
_cgets, _cgetws _cgets_s, _cgetws_s
gets, _getws gets_s, _getws_s
_get_output_format None
_heapadd None
_heapset None
inp, inpw, _inp, _inpw, _inpd None
outp, outpw, _outp, _outpw, _outpd None
_set_output_format None

Removed from the CRT in earlier versions of Visual Studio

_lock
_unlock