3 * reactos/lib/gdi32/misc/stubs.c
5 * GDI32.DLL Stubs for ANSI functions
7 * When you implement one of these functions,
8 * remove its stub from this file.
14 #define UNIMPLEMENTED DbgPrint("GDI32: %s is unimplemented, please try again later.\n", __FUNCTION__);
22 DeviceCapabilitiesExA(
27 CONST DEVMODEA
*pDevMode
31 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
44 FONTENUMPROCA FontFunc
,
49 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
56 Status
= HEAP_strdupA2W ( &lpFaceNameW
, lpFaceName
);
57 if (!NT_SUCCESS (Status
))
58 SetLastError (RtlNtStatusToDosError(Status
));
61 rc
= NtGdiEnumFonts ( hDC
, lpFaceNameW
, FontFunc
, lParam
);
63 HEAP_free ( lpFaceNameW
);
75 GetOutlineTextMetricsA(
78 LPOUTLINETEXTMETRICA lpOTM
82 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
92 GetCharacterPlacementA(
102 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
118 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
135 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
152 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
169 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
184 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
196 DWORD a1
, /* MS says LPDWORD! */
201 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
217 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
234 * FIXME - call NtGdiEnumICMProfiles with NULL for lpstrBuffer
235 * to find out how big a buffer we need. Then allocate that buffer
236 * and call NtGdiEnumICMProfiles again to have the buffer filled.
238 * Finally, step through the buffer ( MULTI-SZ recommended for format ),
239 * and convert each string to ANSI, calling the user's callback function
240 * until we run out of strings or the user returns FALSE
244 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
262 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
280 LPGLYPHMETRICSFLOAT a7
284 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
302 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
312 RemoveFontResourceExA(
319 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
329 CreateFontIndirectExA(const ENUMLOGFONTEXDVA
*elfexd
)
332 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
350 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
359 GetStringBitmapA(HDC hdc
,LPSTR psz
,BOOL unknown
,UINT cj
,BYTE
*lpSB
)
362 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);