20#define T_PRE_VISTA T_WIN2K|T_WINXP|T_WIN2K3
21#define T_VISTA_PLUS T_VISTA|T_WIN7|T_WIN8|T_WIN10
38 {__LINE__,
L"",
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", 0,
S_OK, 0},
59 {__LINE__,
L"shell:::{20D04FE0-3AEA-1069-A2D8-08002B30309D}",
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", 0,
S_OK, 0},
91 {__LINE__,
L"ftp://ftp.gnu.org/gnu/octave/",
L"ftp://ftp.gnu.org/gnu/octave/", 0,
S_OK,
T_VISTA_PLUS},
96 {__LINE__,
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}",
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", 0,
S_OK, 0},
97 {__LINE__,
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D} ",
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", 0,
S_OK, 0},
98 {__LINE__,
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}a",
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", 0,
S_OK, 0},
99 {__LINE__,
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}garbage",
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", 0,
S_OK, 0},
101 {__LINE__,
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\",
NULL, 0,
E_INVALIDARG, 0},
102 {__LINE__,
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\ ",
NULL, 0,
E_INVALIDARG, 0},
103 {__LINE__,
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}",
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}", 0,
S_OK, 0},
107 {__LINE__,
L"c:\\",
L"C:\\", 0,
S_OK, 0},
108 {__LINE__,
L"C:\\",
L"C:\\", 0,
S_OK, 0},
115 {__LINE__,
L"c:\\Program Files",
L"C:\\Program Files", 0,
S_OK, 0},
116 {__LINE__,
L"c:\\Program Files\\",
L"C:\\Program Files", 0,
S_OK, 0},
133 case (5 | (1 << 8)):
return T_WINXP;
134 case (5 | (2 << 8)):
return T_WIN2K3;
136 case (6 | (1 << 8)):
return T_WIN7;
137 case (6 | (2 << 8)):
return T_WIN8;
149 ok (os_flag != 0,
"Incompatible os version %d!", os_flag);
HRESULT WINAPI SHGetDesktopFolder(IShellFolder **psf)
BOOL WINAPI SetCurrentDirectoryW(IN LPCWSTR lpPathName)
UINT WINAPI GetWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDLIST *ppidl)
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
HRESULT GetDisplayNameOf([in] PCUITEMID_CHILD pidl, [in] SHGDNF uFlags, [out] STRRET *lpName)
#define ERROR_FILE_NOT_FOUND
HRESULT WINAPI SHParseDisplayName(LPCWSTR pszName, IBindCtx *pbc, LPITEMIDLIST *ppidl, SFGAOF sfgaoIn, SFGAOF *psfgaoOut)
DWORD WINAPI GetVersion()
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define CSIDL_PROGRAM_FILES
#define CSIDL_DESKTOPDIRECTORY
#define CSIDL_MYDOCUMENTS
PCWSTR wszExpectedDisplayName
#define ERROR_PATH_NOT_FOUND
#define HRESULT_FROM_WIN32(x)
#define ERROR_INVALID_DRIVE