mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
Put the bitmap into the executable.
svn path=/trunk/; revision=19252
This commit is contained in:
parent
9d0b4973fa
commit
4f27be0f0b
3 changed files with 6 additions and 2 deletions
|
@ -84,8 +84,8 @@ LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam,
|
|||
/* load a bitmap from file */
|
||||
HBITMAP HBmp =
|
||||
/* static_cast<HBITMAP> */(
|
||||
LoadImage(HInst, filename, IMAGE_BITMAP,
|
||||
0, 0, LR_LOADFROMFILE)
|
||||
LoadImage(HInst, MAKEINTRESOURCE(1000), IMAGE_BITMAP,
|
||||
0, 0, 0)
|
||||
);
|
||||
if (HBmp)
|
||||
{
|
||||
|
|
2
rosapps/tests/bitblt/bitblt.rc
Normal file
2
rosapps/tests/bitblt/bitblt.rc
Normal file
|
@ -0,0 +1,2 @@
|
|||
1000 BITMAP MOVEABLE PURE "lena.bmp"
|
||||
|
|
@ -2,7 +2,9 @@
|
|||
<define name="_WIN32_IE">0x0501</define>
|
||||
<define name="_WIN32_WINNT">0x0501</define>
|
||||
<define name="__USE_W32API" />
|
||||
<include base="bitblt">.</include>
|
||||
<library>kernel32</library>
|
||||
<library>gdi32</library>
|
||||
<file>bitblt.c</file>
|
||||
<file>bitblt.rc</file>
|
||||
</module>
|
||||
|
|
Loading…
Reference in a new issue