diff options
author | midipix <writeonce@midipix.org> | 2016-06-30 19:04:08 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-06-30 20:40:38 -0400 |
commit | 3e65dd723c030ddbac5729e690bbb057cb29c57e (patch) | |
tree | 4b6b113899eb003e469b20f69b361c1f1c41fd54 /include | |
parent | cc0351a872968560f0bc151b4c3044f447cb71ab (diff) | |
download | ntapi-3e65dd723c030ddbac5729e690bbb057cb29c57e.tar.bz2 ntapi-3e65dd723c030ddbac5729e690bbb057cb29c57e.tar.xz |
nt_string.h, ntapi_vtbl: added snprintf (via ntdll).
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_string.h | 6 | ||||
-rw-r--r-- | include/ntapi/ntapi.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ntapi/nt_string.h b/include/ntapi/nt_string.h index fd9b312..10a413b 100644 --- a/include/ntapi/nt_string.h +++ b/include/ntapi/nt_string.h @@ -15,6 +15,12 @@ typedef int __cdecl ntapi_sprintf( const char * format, ...); +typedef int __cdecl ntapi_snprintf( + char * buffer, + size_t size, + const char * format, + ...); + typedef size_t __cdecl ntapi_strlen(const char * str); diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index 8af844f..0d9f432 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -362,6 +362,7 @@ typedef struct _ntapi_vtbl { /* nt_string.h */ ntapi_memset * memset; ntapi_sprintf * sprintf; + ntapi_snprintf * snprintf; ntapi_strlen * strlen; /* imported symbols: tail */ |