MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2UnicodeToOEMSize

Function Ext2UnicodeToOEMSize

Ext4Fsd/misc.c:238–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238ULONG
239Ext2UnicodeToOEMSize(
240 IN PEXT2_VCB Vcb,
241 IN PUNICODE_STRING Unicode
242)
243{
244 ULONG Length = 0;
245
246 if (Vcb->Codepage.PageTable) {
247 Length = Ext2UnicodeToMbs(Vcb->Codepage.PageTable,
248 NULL, Unicode);
249 if (Length > 0) {
250 return Length;
251 }
252
253 DbgBreak();
254 }
255
256 return RtlxUnicodeStringToOemSize(Unicode);
257}
258
259
260NTSTATUS

Callers 2

Ext2SetReparsePointFunction · 0.85
Ext2BuildEntryFunction · 0.85

Calls 1

Ext2UnicodeToMbsFunction · 0.85

Tested by

no test coverage detected