Lines Matching refs:lpResults

270     LPGCP_RESULTSW lpResults,  in LpkGetCharacterPlacement()  argument
286 return GetCharacterPlacementW(hdc, lpString, uCount, nMaxExtent, lpResults, dwFlags); in LpkGetCharacterPlacement()
289 if (nSet > lpResults->nGlyphs) in LpkGetCharacterPlacement()
290 nSet = lpResults->nGlyphs; in LpkGetCharacterPlacement()
292 BIDI_Reorder(hdc, lpString, uCount, dwFlags, WINE_GCPW_FORCE_LTR, lpResults->lpOutString, in LpkGetCharacterPlacement()
293 nSet, lpResults->lpOrder, &lpGlyphs, &cGlyphs); in LpkGetCharacterPlacement()
295 lpResults->nGlyphs = (UINT)cGlyphs; in LpkGetCharacterPlacement()
297 if (lpResults->lpGlyphs) in LpkGetCharacterPlacement()
300 StringCchCopyW(lpResults->lpGlyphs, cGlyphs, lpGlyphs); in LpkGetCharacterPlacement()
301 else if (lpResults->lpOutString) in LpkGetCharacterPlacement()
302 GetGlyphIndicesW(hdc, lpResults->lpOutString, nSet, lpResults->lpGlyphs, 0); in LpkGetCharacterPlacement()
305 if (lpResults->lpDx) in LpkGetCharacterPlacement()
312 if (lpResults->lpGlyphs) in LpkGetCharacterPlacement()
314 for (i = 0; i < lpResults->nGlyphs; i++) in LpkGetCharacterPlacement()
316 if (GetCharWidthI(hdc, 0, 1, (WORD *)&lpResults->lpGlyphs[i], &c)) in LpkGetCharacterPlacement()
317 lpResults->lpDx[i] = c; in LpkGetCharacterPlacement()
326 if (GetCharWidth32W(hdc, lpResults->lpOutString[i], lpResults->lpOutString[i], &c)) in LpkGetCharacterPlacement()
327 lpResults->lpDx[i] = c; in LpkGetCharacterPlacement()
332 if (lpResults->lpCaretPos) in LpkGetCharacterPlacement()
343 lpResults->lpCaretPos[i] = pos; in LpkGetCharacterPlacement()
349 lpResults->lpCaretPos[0] = 0; in LpkGetCharacterPlacement()
353 lpResults->lpCaretPos[i] = (pos += size.cx); in LpkGetCharacterPlacement()