| 202 | } |
| 203 | |
| 204 | std::wstring WStringFromGUID(const GUID &guid) |
| 205 | { |
| 206 | WCHAR null[128] = {0}, buff[128]; |
| 207 | StringFromGUID2(GUID_NULL, null, 127); |
| 208 | return std::wstring(StringFromGUID2(guid, buff, 127) > 0 ? buff : null); |
| 209 | } |
| 210 | |
| 211 | int SafeMultiByteToWideChar(UINT CodePage, DWORD dwFlags, LPCSTR lpMultiByteStr, int cbMultiByte, LPWSTR lpWideCharStr, |
| 212 | int cchWideChar) |
no outgoing calls
no test coverage detected