#include <windef.h>
#include <winbase.h>
#include <shlobj.h>
#include <shlwapi.h>
#include <undocshell.h>
#include <shlwapi_undoc.h>
#include <wine/unicode.h>
#include <wine/debug.h>
#include "shell32_main.h"
Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (shell) |
|
static const char * | debugstr_strret (STRRET *s) |
|
BOOL WINAPI | StrRetToStrNA (LPSTR dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl) |
|
BOOL WINAPI | StrRetToStrNW (LPWSTR dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl) |
|
BOOL WINAPI | StrRetToStrNAW (LPVOID dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl) |
|
static int | StrToOleStrA (LPWSTR lpWideCharStr, LPCSTR lpMultiByteString) |
|
static int | StrToOleStrW (LPWSTR lpWideCharStr, LPCWSTR lpWString) |
|
BOOL WINAPI | StrToOleStrAW (LPWSTR lpWideCharStr, LPCVOID lpString) |
|
static BOOL | StrToOleStrNA (LPWSTR lpWide, INT nWide, LPCSTR lpStrA, INT nStr) |
|
static BOOL | StrToOleStrNW (LPWSTR lpWide, INT nWide, LPCWSTR lpStrW, INT nStr) |
|
BOOL WINAPI | StrToOleStrNAW (LPWSTR lpWide, INT nWide, LPCVOID lpStr, INT nStr) |
|
static BOOL | OleStrToStrNA (LPSTR lpStr, INT nStr, LPCWSTR lpOle, INT nOle) |
|
static BOOL | OleStrToStrNW (LPWSTR lpwStr, INT nwStr, LPCWSTR lpOle, INT nOle) |
|
BOOL WINAPI | OleStrToStrNAW (LPVOID lpOut, INT nOut, LPCVOID lpIn, INT nIn) |
|
VOID WINAPI | CheckEscapesA (LPSTR string, DWORD len) |
|
VOID WINAPI | CheckEscapesW (LPWSTR string, DWORD len) |
|
◆ _INC_WINDOWS
◆ NONAMELESSSTRUCT
◆ NONAMELESSUNION
◆ WIN32_NO_STATUS
◆ CheckEscapesA()
Definition at line 227 of file shellstring.c.
230{
233
234 if (!string || !string[0])
235 return;
236
238 if (!wString)
239 return;
240
245}
DWORD WINAPI SHAnsiToUnicode(LPCSTR lpSrcStr, LPWSTR lpDstStr, int iLen)
INT WINAPI SHUnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR lpDstStr, INT iLen)
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
VOID WINAPI CheckEscapesW(LPWSTR string, DWORD len)
◆ CheckEscapesW()
Definition at line 252 of file shellstring.c.
255{
258
260
262 {
263 s = &
string[
size - 1];
264 d = &
string[
size + 2];
270 }
271}
LPWSTR WINAPI StrPBrkW(LPCWSTR lpszStr, LPCWSTR lpszMatch)
Referenced by CheckEscapesA().
◆ debugstr_strret()
Definition at line 39 of file shellstring.c.
40{
42 {
44 return "STRRET_WSTR";
46 return "STRRET_CSTR";
48 return "STRRET_OFFSET";
49 default:
50 return "STRRET_???";
51 }
52}
Referenced by StrRetToStrNA(), and StrRetToStrNW().
◆ OleStrToStrNA()
◆ OleStrToStrNAW()
Definition at line 209 of file shellstring.c.
210{
214}
static __inline BOOL SHELL_OsIsUnicode(void)
static BOOL OleStrToStrNW(LPWSTR lpwStr, INT nwStr, LPCWSTR lpOle, INT nOle)
static BOOL OleStrToStrNA(LPSTR lpStr, INT nStr, LPCWSTR lpOle, INT nOle)
◆ OleStrToStrNW()
◆ StrRetToStrNA()
Definition at line 54 of file shellstring.c.
55{
57
60
62 {
66 break;
69 break;
72 break;
73 default:
74 FIXME(
"unknown type %u!\n",
src->uType);
78 }
81}
VOID WINAPI CoTaskMemFree(LPVOID ptr)
static const char * debugstr_strret(STRRET *s)
Referenced by CDefView::OnNotify(), and StrRetToStrNAW().
◆ StrRetToStrNAW()
Definition at line 125 of file shellstring.c.
126{
129 else
131}
BOOL WINAPI StrRetToStrNW(LPWSTR dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl)
BOOL WINAPI StrRetToStrNA(LPSTR dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl)
◆ StrRetToStrNW()
◆ StrToOleStrA()
◆ StrToOleStrAW()
Definition at line 156 of file shellstring.c.
157{
161}
static int StrToOleStrW(LPWSTR lpWideCharStr, LPCWSTR lpWString)
static int StrToOleStrA(LPWSTR lpWideCharStr, LPCSTR lpMultiByteString)
◆ StrToOleStrNA()
◆ StrToOleStrNAW()
Definition at line 183 of file shellstring.c.
184{
188}
static BOOL StrToOleStrNW(LPWSTR lpWide, INT nWide, LPCWSTR lpStrW, INT nStr)
static BOOL StrToOleStrNA(LPWSTR lpWide, INT nWide, LPCSTR lpStrA, INT nStr)
◆ StrToOleStrNW()
◆ StrToOleStrW()
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
shell |
| ) |
|