| 97 | } |
| 98 | |
| 99 | static VOID CopyCat(OUT TChar* Dest, const IN TChar* First, size_t FirstLength, const IN TChar* Second, size_t SecondLength) { |
| 100 | if (!Dest) return; |
| 101 | if (First && FirstLength) { |
| 102 | RtlCopyMemory(Dest, First, FirstLength * sizeof(TChar)); |
| 103 | Dest += FirstLength; |
| 104 | } |
| 105 | if (Second && SecondLength) { |
| 106 | RtlCopyMemory(Dest, Second, SecondLength * sizeof(TChar)); |
| 107 | Dest += SecondLength; |
| 108 | } |
| 109 | *Dest = NullChar; |
| 110 | } |
| 111 | |
| 112 | bool Concat(const IN TChar* Str) { |
| 113 | return Concat(Str, Length(Str)); |
nothing calls this directly
no outgoing calls
no test coverage detected