ReactOS  0.4.15-dev-1070-ge1a01de
GdiConvertBitmap.c File Reference
#include "precomp.h"
Include dependency graph for GdiConvertBitmap.c:

Go to the source code of this file.

Functions

HBITMAP WINAPI GdiConvertBitmap (HBITMAP hbm)
 
void Test_GdiConvertBitmap ()
 
 START_TEST (GdiConvertBitmap)
 

Function Documentation

◆ GdiConvertBitmap()

HBITMAP WINAPI GdiConvertBitmap ( HBITMAP  hbm)

Definition at line 76 of file historic.c.

77 {
78  /* Note Windows 2000/XP/VISTA always returns hbm */
79  return hbm;
80 }
_In_ HBITMAP hbm
Definition: ntgdi.h:2776

Referenced by Test_GdiConvertBitmap().

◆ START_TEST()

START_TEST ( GdiConvertBitmap  )

Definition at line 20 of file GdiConvertBitmap.c.

21 {
23 }
void Test_GdiConvertBitmap()

◆ Test_GdiConvertBitmap()

void Test_GdiConvertBitmap ( )

Definition at line 12 of file GdiConvertBitmap.c.

13 {
14  ok(GdiConvertBitmap((HBITMAP)-1) == (HBITMAP)-1, "\n");
15  ok(GdiConvertBitmap((HBITMAP)0) == (HBITMAP)0, "\n");
16  ok(GdiConvertBitmap((HBITMAP)1) == (HBITMAP)1, "\n");
17  ok(GdiConvertBitmap((HBITMAP)2) == (HBITMAP)2, "\n");
18 }
HBITMAP WINAPI GdiConvertBitmap(HBITMAP hbm)
Definition: historic.c:76
#define ok(value,...)
Definition: atltest.h:57
static HBITMAP
Definition: button.c:44

Referenced by START_TEST().