2 * dll/win32/gdi32/misc/stubsw.c
4 * GDI32.DLL Stubs for Unicode functions
6 * When you implement one of these functions,
7 * remove its stub from this file.
20 PolyTextOutW( HDC hdc
, const POLYTEXTW
*pptxt
, INT cStrings
)
22 for (; cStrings
>0; cStrings
--, pptxt
++)
23 if (!ExtTextOutW( hdc
, pptxt
->x
, pptxt
->y
, pptxt
->uiFlags
, &pptxt
->rcl
, pptxt
->lpstr
, pptxt
->n
, pptxt
->pdx
))
40 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
56 if (!hdc
|| !size
|| !filename
) return FALSE
;
59 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
75 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
87 ICMENUMPROCW lpEnumICMProfilesFunc
,
92 * FIXME - call NtGdiEnumICMProfiles with NULL for lpstrBuffer
93 * to find out how big a buffer we need. Then allocate that buffer
94 * and call NtGdiEnumICMProfiles again to have the buffer filled.
96 * Finally, step through the buffer ( MULTI-SZ recommended for format ),
97 * and call the user's callback function until we run out of strings or
98 * the user returns FALSE
101 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
119 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
124 /* === AFTER THIS POINT I GUESS... =========
125 * (based on stack size in Norlander's .def)
126 * === WHERE ARE THEY DEFINED? =============
135 EudcLoadLinkW(LPCWSTR pBaseFaceName
,LPCWSTR pEudcFontPath
,INT iPriority
,INT iFontLinkType
)
138 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
147 EudcUnloadLinkW(LPCWSTR pBaseFaceName
,LPCWSTR pEudcFontPath
)
150 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
160 LPCWSTR lpszFilename
,
164 return NtGdiAddFontResourceW((PWSTR
)lpszFilename
, 0, 0, fl
, 0, pdv
);
172 GetEUDCTimeStampExW(LPWSTR lpBaseFaceName
)
178 retValue
= NtGdiGetEudcTimeStampEx(NULL
,0,FALSE
);
182 retValue
= NtGdiGetEudcTimeStampEx(lpBaseFaceName
, wcslen(lpBaseFaceName
), FALSE
);
195 bInitSystemAndFontsDirectoriesW(LPWSTR
*SystemDir
,LPWSTR
*FontsDir
)
198 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
207 bMakePathNameW(LPWSTR lpBuffer
,LPCWSTR lpFileName
,LPWSTR
*lpFilePart
,DWORD unknown
)
210 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
219 GetStringBitmapW(HDC hdc
,
229 retValue
= NtGdiGetStringBitmapW(hdc
, pwsz
, 1, lpSB
, cj
);
239 CreateScalableFontResourceW(
242 LPCWSTR lpszFontFile
,
243 LPCWSTR lpszCurrentPath
250 /* fHidden=1 - only visible for the calling app, read-only, not
251 * enumerated with EnumFonts/EnumFontFamilies
252 * lpszCurrentPath can be NULL
255 /* If the output file already exists, return the ERROR_FILE_EXISTS error as specified in MSDN */
256 if ((f
= CreateFileW(lpszFontRes
, 0, 0, NULL
, OPEN_EXISTING
, FILE_ATTRIBUTE_NORMAL
, 0)) != INVALID_HANDLE_VALUE
) {
258 SetLastError(ERROR_FILE_EXISTS
);
261 return FALSE
; /* create failed */