#include <windows.h>
#include <commctrl.h>
#include "wine/test.h"
#include "v6util.h"
Go to the source code of this file.
◆ expect
◆ create_ipaddress_control()
static HWND create_ipaddress_control |
( |
void |
| ) |
|
|
static |
Definition at line 29 of file ipaddress.c.
30{
32
37}
HWND WINAPI CreateWindowExA(_In_ DWORD dwExStyle, _In_opt_ LPCSTR lpClassName, _In_opt_ LPCSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
Referenced by test_get_set_text().
◆ START_TEST()
Definition at line 65 of file ipaddress.c.
66{
69
71
73 return;
74
76
78}
static void test_get_set_text(void)
static BOOL load_v6_module(ULONG_PTR *pcookie, HANDLE *hCtx)
static void unload_v6_module(ULONG_PTR cookie, HANDLE hCtx)
◆ test_get_set_text()
Definition at line 39 of file ipaddress.c.
40{
44
47 {
48 win_skip(
"IPAddress control not implemented\n");
49 return;
50 }
51
52
55 ok(
strcmp(
ip,
"0.0.0.0") == 0,
"Expected null IP address, got %s\n",
ip);
56
60 ok(
strcmp(
ip,
"127.0.0.1") == 0,
"Expected 127.0.0.1, got %s\n",
ip);
61
63}
int strcmp(const char *String1, const char *String2)
GLdouble GLdouble GLdouble r
static HWND create_ipaddress_control(void)
#define expect(expected, got)
#define MAKEIPADDRESS(b1, b2, b3, b4)
int WINAPI GetWindowTextA(HWND hWnd, LPSTR lpString, int nMaxCount)
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI DestroyWindow(_In_ HWND)
Referenced by START_TEST().