| 361 | |
| 362 | #ifndef _WIN32_WCE |
| 363 | ILboolean ILAPIENTRY ilutWinSaveImage(ILstring FileName, HBITMAP Bitmap) |
| 364 | { |
| 365 | ILuint CurName; |
| 366 | ILboolean Saved; |
| 367 | |
| 368 | CurName = ilGetCurName(); |
| 369 | |
| 370 | iBindImageTemp(); |
| 371 | |
| 372 | if (!ilutSetHBitmap(Bitmap)) { |
| 373 | ilBindImage(CurName); |
| 374 | return IL_FALSE; |
| 375 | } |
| 376 | |
| 377 | Saved = ilSaveImage(FileName); |
| 378 | ilBindImage(CurName); |
| 379 | |
| 380 | return Saved; |
| 381 | } |
| 382 | #endif//_WIN32_WCE |
| 383 | |
| 384 |
nothing calls this directly
no test coverage detected