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

Method Free

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

Source from the content-addressed store, hash-verified

85 }
86
87 static VOID Free(IN OUT STRING_INFO* StringInfo) {
88 if (StringInfo && StringInfo->Buffer && !StringInfo->SsoUsing) {
89 StrFreeMem(StringInfo->Buffer);
90 }
91 }
92
93 static VOID Copy(OUT TChar* Dest, const IN TChar* Src, size_t Characters, bool Terminate = true) {
94 if (!Dest || !Src || !Characters) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected