Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenstubsw.c
Go to the documentation of this file.
00001 /* 00002 * dll/win32/gdi32/misc/stubsw.c 00003 * 00004 * GDI32.DLL Stubs for Unicode functions 00005 * 00006 * When you implement one of these functions, 00007 * remove its stub from this file. 00008 * 00009 */ 00010 00011 #include "precomp.h" 00012 #include <debug.h> 00013 00014 00015 /* 00016 * @unimplemented 00017 */ 00018 BOOL 00019 WINAPI 00020 PolyTextOutW( HDC hdc, const POLYTEXTW *pptxt, INT cStrings ) 00021 { 00022 for (; cStrings>0; cStrings--, pptxt++) 00023 if (!ExtTextOutW( hdc, pptxt->x, pptxt->y, pptxt->uiFlags, &pptxt->rcl, pptxt->lpstr, pptxt->n, pptxt->pdx )) 00024 return FALSE; 00025 return TRUE; 00026 } 00027 00028 /* 00029 * @unimplemented 00030 */ 00031 BOOL 00032 WINAPI 00033 GetLogColorSpaceW( 00034 HCOLORSPACE a0, 00035 LPLOGCOLORSPACEW a1, 00036 DWORD a2 00037 ) 00038 { 00039 UNIMPLEMENTED; 00040 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 00041 return FALSE; 00042 } 00043 00044 00045 /* 00046 * @unimplemented 00047 */ 00048 BOOL 00049 WINAPI 00050 GetICMProfileW( 00051 HDC hdc, 00052 LPDWORD size, 00053 LPWSTR filename 00054 ) 00055 { 00056 if (!hdc || !size || !filename) return FALSE; 00057 00058 UNIMPLEMENTED; 00059 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 00060 return FALSE; 00061 } 00062 00063 00064 /* 00065 * @unimplemented 00066 */ 00067 BOOL 00068 WINAPI 00069 SetICMProfileW( 00070 HDC a0, 00071 LPWSTR a1 00072 ) 00073 { 00074 UNIMPLEMENTED; 00075 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 00076 return FALSE; 00077 } 00078 00079 00080 /* 00081 * @unimplemented 00082 */ 00083 int 00084 WINAPI 00085 EnumICMProfilesW( 00086 HDC hDC, 00087 ICMENUMPROCW lpEnumICMProfilesFunc, 00088 LPARAM lParam 00089 ) 00090 { 00091 /* 00092 * FIXME - call NtGdiEnumICMProfiles with NULL for lpstrBuffer 00093 * to find out how big a buffer we need. Then allocate that buffer 00094 * and call NtGdiEnumICMProfiles again to have the buffer filled. 00095 * 00096 * Finally, step through the buffer ( MULTI-SZ recommended for format ), 00097 * and call the user's callback function until we run out of strings or 00098 * the user returns FALSE 00099 */ 00100 UNIMPLEMENTED; 00101 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 00102 return 0; 00103 } 00104 00105 00106 /* 00107 * @unimplemented 00108 */ 00109 BOOL 00110 WINAPI 00111 UpdateICMRegKeyW( 00112 DWORD a0, 00113 LPWSTR a1, 00114 LPWSTR a2, 00115 UINT a3 00116 ) 00117 { 00118 UNIMPLEMENTED; 00119 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 00120 return FALSE; 00121 } 00122 00123 00124 /* === AFTER THIS POINT I GUESS... ========= 00125 * (based on stack size in Norlander's .def) 00126 * === WHERE ARE THEY DEFINED? ============= 00127 */ 00128 00129 00130 /* 00131 * @unimplemented 00132 */ 00133 BOOL 00134 WINAPI 00135 EudcLoadLinkW(LPCWSTR pBaseFaceName,LPCWSTR pEudcFontPath,INT iPriority,INT iFontLinkType) 00136 { 00137 UNIMPLEMENTED; 00138 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 00139 return 0; 00140 } 00141 00142 /* 00143 * @unimplemented 00144 */ 00145 BOOL 00146 WINAPI 00147 EudcUnloadLinkW(LPCWSTR pBaseFaceName,LPCWSTR pEudcFontPath) 00148 { 00149 UNIMPLEMENTED; 00150 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 00151 return 0; 00152 } 00153 00154 /* 00155 * @unimplemented 00156 */ 00157 int 00158 WINAPI 00159 GdiAddFontResourceW( 00160 LPCWSTR lpszFilename, 00161 FLONG fl, 00162 DESIGNVECTOR *pdv) 00163 { 00164 return NtGdiAddFontResourceW((PWSTR)lpszFilename, 0, 0, fl, 0, pdv); 00165 } 00166 00167 /* 00168 * @implemented 00169 */ 00170 DWORD 00171 WINAPI 00172 GetEUDCTimeStampExW(LPWSTR lpBaseFaceName) 00173 { 00174 DWORD retValue = 0; 00175 00176 if (!lpBaseFaceName) 00177 { 00178 retValue = NtGdiGetEudcTimeStampEx(NULL,0,FALSE); 00179 } 00180 else 00181 { 00182 retValue = NtGdiGetEudcTimeStampEx(lpBaseFaceName, wcslen(lpBaseFaceName), FALSE); 00183 } 00184 00185 return retValue; 00186 } 00187 00188 00189 00190 /* 00191 * @unimplemented 00192 */ 00193 BOOL 00194 WINAPI 00195 bInitSystemAndFontsDirectoriesW(LPWSTR *SystemDir,LPWSTR *FontsDir) 00196 { 00197 UNIMPLEMENTED; 00198 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 00199 return 0; 00200 } 00201 00202 /* 00203 * @unimplemented 00204 */ 00205 BOOL 00206 WINAPI 00207 bMakePathNameW(LPWSTR lpBuffer,LPCWSTR lpFileName,LPWSTR *lpFilePart,DWORD unknown) 00208 { 00209 UNIMPLEMENTED; 00210 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 00211 return 0; 00212 } 00213 00214 /* 00215 * @implemented 00216 */ 00217 UINT 00218 WINAPI 00219 GetStringBitmapW(HDC hdc, 00220 LPWSTR pwsz, 00221 BOOL doCall, 00222 UINT cj, 00223 BYTE *lpSB) 00224 { 00225 UINT retValue = 0; 00226 00227 if (doCall) 00228 { 00229 retValue = NtGdiGetStringBitmapW(hdc, pwsz, 1, lpSB, cj); 00230 } 00231 00232 return retValue; 00233 00234 } 00235 00236 00237 BOOL 00238 WINAPI 00239 CreateScalableFontResourceW( 00240 DWORD fdwHidden, 00241 LPCWSTR lpszFontRes, 00242 LPCWSTR lpszFontFile, 00243 LPCWSTR lpszCurrentPath 00244 ) 00245 { 00246 HANDLE f; 00247 00248 UNIMPLEMENTED; 00249 00250 /* fHidden=1 - only visible for the calling app, read-only, not 00251 * enumerated with EnumFonts/EnumFontFamilies 00252 * lpszCurrentPath can be NULL 00253 */ 00254 00255 /* If the output file already exists, return the ERROR_FILE_EXISTS error as specified in MSDN */ 00256 if ((f = CreateFileW(lpszFontRes, 0, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0)) != INVALID_HANDLE_VALUE) 00257 { 00258 CloseHandle(f); 00259 SetLastError(ERROR_FILE_EXISTS); 00260 return FALSE; 00261 } 00262 return FALSE; /* create failed */ 00263 } 00264 00265 00266 /* EOF */ Generated on Thu May 24 2012 04:38:23 for ReactOS by
1.7.6.1
|