ReactOS 0.4.16-dev-91-g764881a
GetStockObject.c File Reference
#include "precomp.h"
Include dependency graph for GetStockObject.c:

Go to the source code of this file.

Functions

void Test_GetStockObject ()
 
 START_TEST (GetStockObject)
 

Function Documentation

◆ START_TEST()

START_TEST ( GetStockObject  )

Definition at line 49 of file GetStockObject.c.

50{
52}
void Test_GetStockObject()

◆ Test_GetStockObject()

void Test_GetStockObject ( )

Definition at line 10 of file GetStockObject.c.

11{
12 /* Test limits and error */
15 TEST(GetStockObject(20) != NULL);
21
22 /* Test for the stock bit */
24
25 /* Test for correct types */
47}
#define ERROR_SUCCESS
Definition: deptool.c:10
#define NULL
Definition: types.h:112
#define SetLastError(x)
Definition: compat.h:752
#define GDI_HANDLE_STOCK_MASK
Definition: gdi.h:19
#define GDI_OBJECT_TYPE_BRUSH
Definition: gdi.h:52
#define GDI_HANDLE_GET_TYPE(h)
Definition: gdi.h:31
#define GDI_OBJECT_TYPE_COLORSPACE
Definition: gdi.h:56
#define GDI_OBJECT_TYPE_BITMAP
Definition: gdi.h:48
#define GDI_OBJECT_TYPE_PALETTE
Definition: gdi.h:49
#define GDI_OBJECT_TYPE_FONT
Definition: gdi.h:50
#define GDI_OBJECT_TYPE_PEN
Definition: gdi.h:54
#define TEST(x)
Definition: precomp.h:20
#define RTEST(x)
Definition: precomp.h:21
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
#define ANSI_FIXED_FONT
Definition: wingdi.h:906
HGDIOBJ WINAPI GetStockObject(_In_ int)
#define DEFAULT_PALETTE
Definition: wingdi.h:913
#define LTGRAY_BRUSH
Definition: wingdi.h:900
#define DKGRAY_BRUSH
Definition: wingdi.h:897
#define ANSI_VAR_FONT
Definition: wingdi.h:907
#define DEFAULT_GUI_FONT
Definition: wingdi.h:909
#define WHITE_PEN
Definition: wingdi.h:905
#define WHITE_BRUSH
Definition: wingdi.h:902
#define GRAY_BRUSH
Definition: wingdi.h:898
#define SYSTEM_FIXED_FONT
Definition: wingdi.h:912
#define NULL_BRUSH
Definition: wingdi.h:901
#define OEM_FIXED_FONT
Definition: wingdi.h:910
#define BLACK_PEN
Definition: wingdi.h:903
#define NULL_PEN
Definition: wingdi.h:904
#define BLACK_BRUSH
Definition: wingdi.h:896
#define SYSTEM_FONT
Definition: wingdi.h:911
#define DEVICE_DEFAULT_FONT
Definition: wingdi.h:908

Referenced by START_TEST().