MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / SetupSso

Method SetupSso

Kernel-Bridge/API/StringsAPI.h:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 STRING_INFO Data;
41
42 static inline VOID SetupSso(OUT STRING_INFO* StringInfo, const TChar* SsoBuffer) {
43 StringInfo->Buffer = const_cast<TChar*>(SsoBuffer);
44 StringInfo->Length = 0;
45 StringInfo->BufferSize = SSO_SIZE * sizeof(TChar);
46 StringInfo->SsoUsing = TRUE;
47 StringInfo->Buffer[0] = NullChar;
48 StringInfo->Buffer[SSO_SIZE - 1] = NullChar;
49 }
50
51 static inline TChar* StrAllocMem(size_t Bytes) {
52#ifdef _NTDDK_

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected