| 380 | |
| 381 | |
| 382 | const wchar* GetWide(const char *Src) |
| 383 | { |
| 384 | const size_t MaxLength=NM; |
| 385 | static wchar StrTable[4][MaxLength]; |
| 386 | static uint StrNum=0; |
| 387 | if (++StrNum >= ASIZE(StrTable)) |
| 388 | StrNum=0; |
| 389 | wchar *Str=StrTable[StrNum]; |
| 390 | CharToWide(Src,Str,MaxLength); |
| 391 | Str[MaxLength-1]=0; |
| 392 | return Str; |
| 393 | } |
| 394 | |
| 395 | |
| 396 | // Parse string containing parameters separated with spaces. |
no test coverage detected