Lines Matching refs:lpScan
35 local LPCWSTR SkipBlanks( LPCWSTR lpScan ) in SkipBlanks() argument
37 while ( ' ' == *lpScan || '\t' == *lpScan ) in SkipBlanks()
38 lpScan++; in SkipBlanks()
40 return lpScan; in SkipBlanks()
44 local LPCWSTR SkipArgument( LPCWSTR lpScan ) in SkipArgument() argument
51 switch ( *lpScan ) in SkipArgument()
56 lpScan++; in SkipArgument()
58 lpArgEnd = lpScan; in SkipArgument()
61 lpScan++; in SkipArgument()
65 lpArgEnd = lpScan; in SkipArgument()
68 lpScan++; in SkipArgument()
71 } while( *lpScan && !lpArgEnd ); in SkipArgument()
73 return lpScan; in SkipArgument()
106 LPCWSTR lpScan = lpCmdLineW; variable
112 while ( *lpScan )
114 lpScan = SkipBlanks( lpScan );
115 if ( *lpScan )
117 LPCWSTR lpArgEnd = SkipArgument( lpScan );
120 cchNeeded += lpArgEnd - lpScan + 1;
121 lpScan = lpArgEnd;
135 lpScan = lpCmdLineW;
138 while ( *lpScan )
140 lpScan = SkipBlanks( lpScan );
141 if ( *lpScan )
143 LPCWSTR lpArgEnd = SkipArgument( lpScan );
147 while ( lpScan < lpArgEnd )
149 if ( '\"' != *lpScan )
150 *lpDestination++ = *lpScan;
152 lpScan++;