Skip to content

Commit 174b9d6

Browse files
ahmedarif193MishaProductions
authored andcommitted
[NTOS] Export the UTF-8 conversion routines
RtlUTF8ToUnicodeN and RtlUnicodeToUTF8N are documented kernel APIs since Windows 7, but they are missing from the ntoskrnl export table.
1 parent 68a03b2 commit 174b9d6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎ntoskrnl/ntoskrnl.spec‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,7 @@
13051305
@ stdcall RtlTraceDatabaseLock(ptr)
13061306
@ stdcall RtlTraceDatabaseUnlock(ptr)
13071307
@ stdcall RtlTraceDatabaseValidate(ptr)
1308+
@ stdcall -version=0x601+ RtlUTF8ToUnicodeN(ptr long ptr str long)
13081309
@ fastcall -arch=i386,arm RtlUlongByteSwap(long)
13091310
@ fastcall -arch=i386,arm RtlUlonglongByteSwap(long long)
13101311
@ stdcall RtlUnicodeStringToAnsiSize(ptr) RtlxUnicodeStringToAnsiSize
@@ -1317,6 +1318,7 @@
13171318
@ stdcall RtlUnicodeToMultiByteN(ptr long ptr wstr long)
13181319
@ stdcall RtlUnicodeToMultiByteSize(ptr wstr long)
13191320
@ stdcall RtlUnicodeToOemN(ptr long ptr wstr long)
1321+
@ stdcall -version=0x601+ RtlUnicodeToUTF8N(ptr long ptr wstr long)
13201322
@ stdcall RtlUnlockBootStatusData(ptr)
13211323
@ stdcall RtlUnwind(ptr ptr ptr ptr)
13221324
@ stdcall -arch=x86_64,arm RtlUnwindEx(ptr ptr ptr ptr ptr ptr)

0 commit comments

Comments
 (0)