127{
131
133
135 if (!pszCommand)
137
139
141
142 TRACE(
"Dde_OnExecute: hconv=%p, topic=%S, command=%S\n", hconv, szTopic, pszCommand);
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
167 INT UnknownParameter = 0;
168
169
170
172
175
177 {
178 ERR(
"Empty command. Nothing to run.\n");
180 }
181
182
183 {
185
186 if (!cmdEnd)
187 {
188 ERR(
"Could not find '('. Invalid command.\n");
190 }
191
192 *cmdEnd = 0;
193
195
197 }
198
199
201 {
202
205
207
208 while (*
arg && (isQuote || *
arg !=
L','))
209 {
211 {
212 isQuote = !isQuote;
213 if (isQuote &&
arg !=
cmd)
214 {
216 }
217 }
218 else
219 {
221 }
222
224 }
225
227
230 }
231
232
234 {
236 {
237 ERR(
"Expected ':'. Invalid command.\n");
239 }
240
242
243 if (!idlistEnd)
245
246 if (!idlistEnd)
247 {
248 ERR(
"Expected ',' or ')'. Invalid command.\n");
250 }
251
253
255 }
256
257
259 {
261 }
262
263 TRACE(
"Parse end: cmd=%S, S=%d, pidl=%p, path=%S\n",
Command, UnknownParameter, IdList,
Path);
264
265
267 {
270 {
272 }
273 }
274
275
278}
PRTL_UNICODE_STRING_BUFFER Path
static LPITEMIDLIST _ILReadFromSharedMemory(PCWSTR strField)
DDECommandHandler HandlerList[]
const int HandlerListLength
#define DDE_FNOTPROCESSED
BOOL WINAPI DdeUnaccessData(HDDEDATA)
LPBYTE WINAPI DdeAccessData(HDDEDATA, LPDWORD)
UINT(* handler)(MSIPACKAGE *)
int WINAPI StrCmpW(LPCWSTR lpszStr, LPCWSTR lpszComp)
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
STRSAFEAPI StringCchCopyW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)