Lines Matching refs:nCharsRequired
137 … int nCharsRequired = MultiByteToWideChar( CP_ACP, 0, sBasisInstallPath.c_str(), -1, NULL, 0 ); in CreateLayerLinks() local
138 if ( nCharsRequired ) in CreateLayerLinks()
140 LPWSTR lpPathW = new WCHAR[nCharsRequired]; in CreateLayerLinks()
141 … if ( MultiByteToWideChar( CP_ACP, 0, sBasisInstallPath.c_str(), -1, lpPathW, nCharsRequired ) ) in CreateLayerLinks()
143 … nCharsRequired = WideCharToMultiByte( CP_UTF8, 0, lpPathW, -1, NULL, 0, NULL, NULL ); in CreateLayerLinks()
144 if ( nCharsRequired ) in CreateLayerLinks()
146 LPSTR lpPathUTF8 = new CHAR[nCharsRequired]; in CreateLayerLinks()
147 … WideCharToMultiByte( CP_UTF8, 0, lpPathW, -1, lpPathUTF8, nCharsRequired, NULL, NULL ); in CreateLayerLinks()
179 int nCharsRequired = MultiByteToWideChar( CP_ACP, 0, sUreInstallPath.c_str(), -1, NULL, 0 ); in CreateLayerLinks() local
180 if ( nCharsRequired ) in CreateLayerLinks()
182 LPWSTR lpPathW = new WCHAR[nCharsRequired]; in CreateLayerLinks()
183 … if ( MultiByteToWideChar( CP_ACP, 0, sUreInstallPath.c_str(), -1, lpPathW, nCharsRequired ) ) in CreateLayerLinks()
185 … nCharsRequired = WideCharToMultiByte( CP_UTF8, 0, lpPathW, -1, NULL, 0, NULL, NULL ); in CreateLayerLinks()
186 if ( nCharsRequired ) in CreateLayerLinks()
188 LPSTR lpPathUTF8 = new CHAR[nCharsRequired]; in CreateLayerLinks()
189 … WideCharToMultiByte( CP_UTF8, 0, lpPathW, -1, lpPathUTF8, nCharsRequired, NULL, NULL ); in CreateLayerLinks()