189{
190 const ASSOCF unimplemented_flags = ~ASSOCF_NOTRUNCATE;
194
195 TRACE(
"(%p)->(0x%08x, %u, %s, %p, %p)\n",
this,
flags,
str,
debugstr_w(pszExtra), pszOut, pcchOut);
196 if (
flags & unimplemented_flags)
197 {
198 FIXME(
"%08x: unimplemented flags\n",
flags & unimplemented_flags);
199 }
200
201 if (!pcchOut)
202 {
204 }
205
207 {
209 }
210
212 {
214 {
218 {
221 }
223 }
225 {
228 {
230 }
233 }
235 {
237
240 {
242 }
246 {
248 if (docName)
249 {
252 {
254 }
255 else
256 {
258 }
260 }
261 else
262 {
264 }
265 }
266 else
267 {
269 }
272 }
274 {
280
283 {
285 }
287 if (!retval)
288 {
289 goto get_friendly_name_fail;
290 }
292 if (!verinfoW)
293 {
295 }
297 {
298 goto get_friendly_name_fail;
299 }
301 {
304 for (
i = 0;
i < flen /
sizeof(
DWORD);
i++)
305 {
306 sprintfW(fileDescW,
L"\\StringFileInfo\\%04x%04x\\FileDescription",
309 {
310
316 }
317 }
318 }
319 get_friendly_name_fail:
326 }
328 {
332 {
334 }
336 if (contentType !=
NULL)
337 {
340 {
342 }
343 else
344 {
346 }
348 }
349 else
350 {
352 }
354 }
356 {
361 {
363 if (icon)
364 {
367 {
369 }
370 else
371 {
373 }
375 }
376 else
377 {
379 }
380 }
381 else
382 {
384 }
386 }
388 {
392
395 {
397 }
402 {
404 }
409 {
411 }
413 }
414
415 default:
416 {
417 FIXME(
"assocstr %d unimplemented!\n",
str);
419 }
420 }
421}
HRESULT ReturnString(ASSOCF flags, LPWSTR out, DWORD *outlen, LPCWSTR data, DWORD datalen)
HRESULT GetExecutable(LPCWSTR pszExtra, LPWSTR path, DWORD pathlen, DWORD *len)
LSTATUS WINAPI RegGetValueW(HKEY hKey, LPCWSTR pszSubKey, LPCWSTR pszValue, DWORD dwFlags, LPDWORD pdwType, PVOID pvData, LPDWORD pcbData)
HRESULT WINAPI CLSIDFromString(LPCOLESTR idstr, LPCLSID id)
void WINAPI PathStripPathW(LPWSTR lpszPath)
void WINAPI PathRemoveExtensionW(LPWSTR lpszPath)
BOOL WINAPI GetFileVersionInfoW(LPCWSTR filename, DWORD handle, DWORD datasize, LPVOID data)
BOOL WINAPI VerQueryValueW(LPCVOID pBlock, LPCWSTR lpSubBlock, LPVOID *lplpBuffer, PUINT puLen)
DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR filename, LPDWORD handle)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
@ ASSOCSTR_SHELLEXTENSION
@ ASSOCSTR_FRIENDLYDOCNAME
@ ASSOCSTR_FRIENDLYAPPNAME