MCPcopy Create free account
hub / github.com/cinience/RedisStudio / GetUnicodeFileName

Function GetUnicodeFileName

DuiLib/Utils/XUnzip.cpp:2736–2748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2734}
2735
2736static int GetUnicodeFileName(const char * name, LPWSTR buf, int nBufSize)
2737{
2738 memset(buf, 0, nBufSize*sizeof(TCHAR));
2739
2740 int n = MultiByteToWideChar(CP_ACP, // code page
2741 0, // character-type options
2742 name, // string to map
2743 -1, // number of bytes in string
2744 buf, // wide-character buffer
2745 nBufSize); // size of buffer
2746
2747 return n;
2748}
2749
2750#endif
2751

Callers 3

UnzipMethod · 0.85
GetZipItemWFunction · 0.85
FindZipItemWFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected