UCRT APIs available in VBS enclaves

Applies to: ✅ Windows 11 Build 26100.2314 or later ✅ Windows Server 2025 or later

Enclaves are used to create trusted execution environments. These UCRT APIs are available to developers in VBS enclaves.

Functions exported by ucrtbase_enclave.dll

The Universal C Runtime (UCRT, often just CRT) Library reference documentation here is arranged alphabetically by routine. The following APIs exported by ucrtbase_enclave.dll are available to be called in VBS enclaves.

A

abort

abs

_abs64

acos

acosf

acosh

acoshf

acoshl

_aligned_free

_aligned_malloc

_aligned_msize

_aligned_offset_malloc

_aligned_offset_realloc

_aligned_offset_recalloc

_aligned_realloc

_aligned_recalloc

asin

asinf

asinh

asinhf

asinhl

_assert

atan

atan2

atan2f

atanf

atanh

atanhf

atanhl

_atodbl

_atodbl_l

atof

_atof_l

_atoflt

_atoflt_l

atoi

_atoi_l

_atoi64

_atoi64_l

atol

_atol_l

_atoldbl

_atoldbl_l

atoll

_atoll_l

B

bsearch

bsearch_s

btowc

_byteswap_uint64

_byteswap_ulong

_byteswap_ushort

C

_c_exit

c16rtomb

c32rtomb

_cabs

cabs

cabsf

cabsl

cacos

cacosf

cacosh

cacoshf

cacoshl

cacosl

_callnewh

calloc

carg

cargf

cargl

casin

casinf

casinh

casinhf

casinhl

casinl

catan

catanf

catanh

catanhf

catanhl

catanl

cbrt

cbrtf

cbrtl

_Cbuild

ccos

ccosf

ccosh

ccoshf

ccoshl

ccosl

ceil

ceilf

_cexit

cexp

cexpf

cexpl

_chgsign

_chgsignf

cimag

cimagf

cimagl

_clearfp

clog

clog10

clog10f

clog10l

clogf

clogl

_Cmulcc

_Cmulcr

_configthreadlocale

conj

conjf

conjl

_control87

_controlfp

_controlfp_s

copysign

_copysign

copysignf

_copysignf

copysignl

cos

cosf

cosh

coshf

cpow

cpowf

cpowl

cproj

cprojf

cprojl

creal

crealf

creall

_crt_atexit

csin

csinf

csinh

csinhf

csinhl

csinl

csqrt

csqrtf

csqrtl

ctan

ctanf

ctanh

ctanhf

ctanhl

ctanl

D

_d_int

_dclass

_dexp

div

_dlog

_dnorm

__doserrno

_dpcomp

_dpoly

_dscale

_dsign

_dsin

_dtest

_dunscale

E

_ecvt

_ecvt_s

erf

erfc

erfcf

erfcl

erff

erfl

_errno

_execute_onexit_table

exit

_Exit

_exit

exp

exp2

exp2f

exp2l

_expand

expf

expm1

expm1f

expm1l

F

fabs

_FCbuild

_FCmulcc

_FCmulcr

_fcvt

_fcvt_s

_fd_int

_fdclass

_fdexp

fdim

fdimf

fdiml

_fdlog

_fdnorm

_fdpcomp

_fdpoly

_fdscale

_fdsign

_fdsin

_fdtest

_fdunscale

feclearexcept

fegetexceptflag

fegetround

feholdexcept

fesetexceptflag

fesetround

fetestexcept

_finite

_finitef

floor

floorf

fma

fmaf

fmal

fmax

fmaxf

fmaxl

fmin

fminf

fminl

fmod

fmodf

_fpclass

_fpclassf

_fpieee_flt

_fpreset

free

frexp

G

_gcvt

_gcvt_s

_get_current_locale

_get_doserrno

_get_errno

_get_FMA3_enable

_get_heap_handle

_get_invalid_parameter_handler

_get_terminate

_get_thread_local_invalid_parameter_handler

_getmbcp

H

hypot

_hypot

_hypotf

I

_i64toa

_i64toa_s

_i64tow

_i64tow_s

ilogb

ilogbf

ilogbl

imaxabs

imaxdiv

_initialize_onexit_table

_initterm

_initterm_e

_invalid_parameter_noinfo

_invalid_parameter_noinfo_noreturn

_invoke_watson

isalnum

_isalnum_l

isalpha

_isalpha_l

__isascii

isblank

_isblank_l

iscntrl

_iscntrl_l

__iscsym

__iscsymf

_isctype

_isctype_l

isdigit

_isdigit_l

isgraph

_isgraph_l

isleadbyte

_isleadbyte_l

islower

_islower_l

_isnan

_isnanf

isprint

_isprint_l

ispunct

_ispunct_l

isspace

_isspace_l

isupper

_isupper_l

iswalnum

_iswalnum_l

iswalpha

_iswalpha_l

iswascii

iswblank

_iswblank_l

iswcntrl

_iswcntrl_l

__iswcsym

_iswcsym_l

__iswcsymf

_iswcsymf_l

iswctype

_iswctype_l

iswdigit

_iswdigit_l

iswgraph

_iswgraph_l

iswlower

_iswlower_l

iswprint

_iswprint_l

iswpunct

_iswpunct_l

iswspace

_iswspace_l

iswupper

_iswupper_l

iswxdigit

_iswxdigit_l

isxdigit

_isxdigit_l

_itoa

_itoa_s

_itow

_itow_s

J

_j0

_j1

_jn

L

labs

___lc_codepage_func

___lc_collate_cp_func

___lc_locale_name_func

_LCbuild

_LCmulcc

_LCmulcr

_ld_int

_ldclass

ldexp

_ldexp

ldiv

_ldlog

_ldpcomp

_ldpoly

_ldscale

_ldsign

_ldsin

_ldtest

_ldunscale

_lfind

_lfind_s

lgamma

lgammaf

lgammal

llabs

lldiv

llrint

llrintf

llrintl

llround

llroundf

llroundl

localeconv

log

log10

log10f

log1p

log1pf

log1pl

log2

log2f

log2l

logb

_logb

logbf

_logbf

logbl

logf

lrint

lrintf

lrintl

_lrotl

_lrotr

lround

lroundf

lroundl

_lsearch

_lsearch_s

_ltoa

_ltoa_s

_ltow

_ltow_s

M

malloc

___mb_cur_max_func

___mb_cur_max_l_func

mblen

mbrlen

mbrtoc16

mbrtoc32

mbrtowc

mbsrtowcs

mbsrtowcs_s

mbstowcs

mbstowcs_s

mbtowc

_memccpy

memcpy_s

_memicmp

_memicmp_l

memmove_s

modf

modff

_msize

N

nan

nanf

nanl

nearbyint

nearbyintf

nearbyintl

nextafter

_nextafter

nextafterf

_nextafterf

nextafterl

nexttoward

nexttowardf

nexttowardl

norm

normf

norml

P

__pctype_func

pow

powf

Q

qsort

qsort_s

_query_new_handler

_query_new_mode

quick_exit

R

raise

rand

realloc

_recalloc

_register_onexit_function

remainder

remainderf

remainderl

remquo

remquof

remquol

rint

rintf

rintl

_rotl

_rotl64

_rotr

_rotr64

round

roundf

roundl

S

_scalb

_scalbf

scalbln

scalblnf

scalblnl

scalbn

scalbnf

scalbnl

_seh_filter_dll

_seh_filter_exe

_set_abort_behavior

_set_controlfp

_set_doserrno

_set_errno

_set_error_mode

_set_FMA3_enable

_set_invalid_parameter_handler

_set_new_handler

_set_new_mode

_set_thread_local_invalid_parameter_handler

setjmp

__setusermatherr

sin

sinf

sinh

sinhf

sqrt

sqrtf

srand

_statusfp

__stdio_common_vsnprintf_s

__stdio_common_vswprintf

strcat

strcat_s

strcmp

strcpy

strcpy_s

strcspn

_strdup

strerror

_strerror

strerror_s

_strerror_s

strlen

_strlwr

_strlwr_l

_strlwr_s

_strlwr_s_l

strncat

strncat_s

strncmp

strncpy

strncpy_s

_strnicmp

_strnicmp_l

strnlen

_strnset

_strnset_s

strpbrk

_strrev

_strset

_strset_s

strspn

strtod

_strtod_l

strtof

_strtof_l

_strtoi64

_strtoi64_l

strtoimax

_strtoimax_l

strtok

strtok_s

strtol

_strtol_l

strtold

_strtold_l

strtoll

_strtoll_l

_strtoui64

_strtoui64_l

strtoul

_strtoul_l

strtoull

_strtoull_l

strtoumax

_strtoumax_l

_strupr

_strupr_l

_strupr_s

_strupr_s_l

strxfrm

_strxfrm_l

_swab

__sys_errlist

__sys_nerr

T

tan

tanf

tanh

tanhf

terminate

tgamma

tgammaf

tgammal

__toascii

tolower

_tolower

_tolower_l

toupper

_toupper

_toupper_l

towctrans

towlower

_towlower_l

towupper

_towupper_l

trunc

truncf

truncl

U

_ui64toa

_ui64toa_s

_ui64tow

_ui64tow_s

_ultoa

_ultoa_s

_ultow

_ultow_s

W

_wassert

wcrtomb

wcrtomb_s

wcscat

wcscat_s

wcscmp

wcscpy

wcscpy_s

wcscspn

_wcsdup

_wcserror

__wcserror

_wcserror_s

__wcserror_s

_wcsicmp

_wcsicmp_l

wcslen

_wcslwr

_wcslwr_l

_wcslwr_s

_wcslwr_s_l

wcsncat

wcsncat_s

wcsncmp

wcsncpy

wcsncpy_s

_wcsnicmp

_wcsnicmp_l

wcsnlen

_wcsnset

_wcsnset_s

wcspbrk

_wcsrev

wcsrtombs

wcsrtombs_s

_wcsset

_wcsset_s

wcsspn

wcstod

_wcstod_l

wcstof

_wcstof_l

_wcstoi64

_wcstoi64_l

wcstoimax

_wcstoimax_l

wcstok

wcstok_s

wcstol

_wcstol_l

wcstold

_wcstold_l

wcstoll

_wcstoll_l

wcstombs

_wcstombs_l

wcstombs_s

_wcstombs_s_l

_wcstoui64

_wcstoui64_l

wcstoul

_wcstoul_l

wcstoull

_wcstoull_l

wcstoumax

_wcstoumax_l

_wcsupr

_wcsupr_l

_wcsupr_s

_wcsupr_s_l

wcsxfrm

_wcsxfrm_l

wctob

wctomb

_wctomb_l

wctomb_s

_wctomb_s_l

wctrans

_wctype

wctype

wmemcpy_s

wmemmove_s

_wtof

_wtof_l

_wtoi

_wtoi_l

_wtoi64

_wtoi64_l

_wtol

_wtol_l

_wtoll

_wtoll_l

Y

_y0

_y1

_yn

Internal CRT functions and function macros

These functions and function macros exported by ucrtbase_enclave.dll are used to implement the CRT. They are not intended to be called directly from your code.

  • __fpe_flt_rounds
  • __fpecode
  • __pwctype_func
  • __pxcptinfoptrs
  • __stdio_common_vsnprintf_s
  • __stdio_common_vsnwprintf_s
  • __stdio_common_vsprintf
  • __stdio_common_vsprintf_p
  • __stdio_common_vsprintf_s
  • __stdio_common_vsscanf
  • __stdio_common_vswprintf_p
  • __stdio_common_vswprintf_s
  • __stdio_common_vswscanf
  • __strncnt
  • __threadhandle
  • __threadid
  • __wcsncnt
  • _calloc_base
  • _crt_at_quick_exit
  • _except1
  • _free_base
  • _lock_locales
  • _malloc_base
  • _realloc_base
  • _register_thread_local_exe_atexit_callback
  • _unlock_locales

See also