76 TRACE(
"(%p)->(%d,%s,%p,%p)\n",
this,
84 FIXME(
"hwnd != NULL not supported\n");
89 FIXME(
"unsupported flags: %x\n", cfFlags);
104 if (pchDotExt && *pchDotExt)
105 pszAssoc = pchDotExt;
119 if (*pszAssoc !=
'.' && *pszAssoc !=
'{')
126 if (*pszAssoc ==
'.')
156 else if (hkeyProgid !=
NULL)
190 const ASSOCF unimplemented_flags = ~ASSOCF_NOTRUNCATE;
195 TRACE(
"(%p)->(0x%08x, %u, %s, %p, %p)\n",
this,
flags,
str,
debugstr_w(pszExtra), pszOut, pcchOut);
196 if (
flags & unimplemented_flags)
198 FIXME(
"%08x: unimplemented flags\n",
flags & unimplemented_flags);
289 goto get_friendly_name_fail;
298 goto get_friendly_name_fail;
304 for (
i = 0;
i < flen /
sizeof(
DWORD);
i++)
306 sprintfW(fileDescW,
L"\\StringFileInfo\\%04x%04x\\FileDescription",
319 get_friendly_name_fail:
336 if (contentType !=
NULL)
417 FIXME(
"assocstr %d unimplemented!\n",
str);
444 FIXME(
"(%p,0x%8x,0x%8x,%s,%p)-stub!\n",
this, cfFlags, assockey,
467 TRACE(
"(%p,0x%8x,0x%8x,%s,%p,%p)\n",
this, cfFlags, assocdata,
472 FIXME(
"Unsupported flags: %x\n", cfFlags);
504 FIXME(
"Unsupported ASSOCDATA value: %d\n", assocdata);
613 hr = this->
GetValue(hkeyShell,
L"open", (
void**)&extra_from_reg,
NULL);
617 DWORD max_subkey_len;
619 ret =
RegQueryInfoKeyW(hkeyShell,
NULL,
NULL,
NULL,
NULL, &max_subkey_len,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
642 extra = extra_from_reg;
688 if (pszCommand[0] ==
'"')
690 pszStart = pszCommand + 1;
691 pszEnd =
strchrW(pszStart,
'"');
700 pszStart = pszCommand;
701 for (pszEnd = pszStart; (pszEnd =
strchrW(pszEnd,
' ')); pszEnd++)
763 if (*outlen > 0)
out[0] = 0;
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void shell(int argc, const char *argv[])
#define STDMETHODCALLTYPE
#define RegCloseKey(hKey)
HRESULT GetValue(HKEY hkey, const WCHAR *name, void **data, DWORD *data_size)
HRESULT ReturnString(ASSOCF flags, LPWSTR out, DWORD *outlen, LPCWSTR data, DWORD datalen)
HRESULT GetCommand(const WCHAR *extra, WCHAR **command)
HRESULT ReturnData(void *out, DWORD *outlen, const void *data, DWORD datalen)
HRESULT GetExecutable(LPCWSTR pszExtra, LPWSTR path, DWORD pathlen, DWORD *len)
STDMETHOD() GetEnum(ASSOCF cfFlags, ASSOCENUM assocenum, LPCWSTR pszExtra, REFIID riid, LPVOID *ppvOut) override
STDMETHOD() GetString(ASSOCF flags, ASSOCSTR str, LPCWSTR pwszExtra, LPWSTR pwszOut, DWORD *pcchOut) override
STDMETHOD() Init(ASSOCF flags, LPCWSTR pwszAssoc, HKEY hkProgid, HWND hwnd) override
STDMETHOD() GetData(ASSOCF flags, ASSOCDATA data, LPCWSTR pwszExtra, void *pvOut, DWORD *pcbOut) override
STDMETHOD() GetKey(ASSOCF flags, ASSOCKEY key, LPCWSTR pwszExtra, HKEY *phkeyOut) override
#define ERROR_INSUFFICIENT_BUFFER
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LSTATUS WINAPI RegGetValueW(HKEY hKey, LPCWSTR pszSubKey, LPCWSTR pszValue, DWORD dwFlags, LPDWORD pdwType, PVOID pvData, LPDWORD pcbData)
LONG WINAPI RegEnumKeyExW(_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_ LPWSTR lpName, _Inout_ LPDWORD lpcbName, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPWSTR lpClass, _Inout_opt_ LPDWORD lpcbClass, _Out_opt_ PFILETIME lpftLastWriteTime)
LONG WINAPI RegQueryInfoKeyW(HKEY hKey, LPWSTR lpClass, LPDWORD lpcClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcMaxSubKeyLen, LPDWORD lpcMaxClassLen, LPDWORD lpcValues, LPDWORD lpcMaxValueNameLen, LPDWORD lpcMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
LPWSTR WINAPI StrChrW(LPCWSTR lpszStr, WCHAR ch)
#define HeapFree(x, y, z)
#define FAILED_UNEXPECTEDLY(hr)
DWORD WINAPI ExpandEnvironmentStringsW(IN LPCWSTR lpSrc, IN LPWSTR lpDst, IN DWORD nSize)
DWORD WINAPI SearchPathW(IN LPCWSTR lpPath OPTIONAL, IN LPCWSTR lpFileName, IN LPCWSTR lpExtension OPTIONAL, IN DWORD nBufferLength, OUT LPWSTR lpBuffer, OUT LPWSTR *lpFilePart OPTIONAL)
HRESULT WINAPI CLSIDFromString(LPCOLESTR idstr, LPCLSID id)
void WINAPI PathStripPathW(LPWSTR lpszPath)
LPWSTR WINAPI PathFindExtensionW(LPCWSTR 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)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLuint GLenum GLsizei const GLchar * buf
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
int const JOCTET unsigned int datalen
#define memcpy(s1, s2, n)
#define ERROR_FILE_NOT_FOUND
@ ASSOCSTR_SHELLEXTENSION
@ ASSOCSTR_FRIENDLYDOCNAME
@ ASSOCSTR_FRIENDLYAPPNAME
#define ERROR_NO_ASSOCIATION
#define HRESULT_FROM_WIN32(x)
#define HKEY_CLASSES_ROOT