From 0d6a53e7b766bdc3e579fab95a921ed0010014ad Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 30 Jun 2016 21:00:27 -0400 Subject: nt_string.h, ntapi_vtbl: added vsprintf and vsnprintf (via ntdll). --- include/ntapi/nt_string.h | 11 +++++++++++ include/ntapi/ntapi.h | 2 ++ 2 files changed, 13 insertions(+) (limited to 'include') diff --git a/include/ntapi/nt_string.h b/include/ntapi/nt_string.h index 10a413b..1a6a451 100644 --- a/include/ntapi/nt_string.h +++ b/include/ntapi/nt_string.h @@ -21,6 +21,17 @@ typedef int __cdecl ntapi_snprintf( const char * format, ...); +typedef int __cdecl ntapi_vsprintf( + char * buffer, + const char * format, + va_list ap); + +typedef int __cdecl ntapi_vsnprintf( + char * buffer, + size_t size, + const char * format, + va_list ap); + typedef size_t __cdecl ntapi_strlen(const char * str); diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index 3d3d4de..b596f32 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -363,6 +363,8 @@ typedef struct _ntapi_vtbl { ntapi_memset * memset; ntapi_sprintf * sprintf; ntapi_snprintf * snprintf; + ntapi_vsprintf * vsprintf; + ntapi_vsnprintf * vsnprintf; /* imported symbols: tail */ /* alternate implementation */ -- cgit v1.2.3