Source list, 4 source list – Casio Cassiopeia PA-2400 User Manual

Page 11

Advertising
background image

11

2.4 Source List

This section introduces the IOBOX1.C program and its reference sources, and show a list of

environment variables.

// windows ce iobox sample file

#include <windows.h>

#include <commctrl.h>

#include "iobox1.h"

VOID ioProc( void);

TCHAR szAppName[ ] = TEXT("Hello Windows CE");

TCHAR szTitle[ ] = TEXT("PA-2400 I/O BOX TEST");

LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);

HINSTANCE hInst = NULL;

HWND hWndCB = NULL;

HANDLE hWnd;

HANDLE h;

const int WINDOW_WIDTH = 480;

const int WINDOW_HEIGHT = 214;

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,

LPWSTR lpCmdLine, int nCmdShow )

{

// HWND hWnd;

MSG msg;

WNDCLASS wc;

wc.style = 0L;

wc.lpfnWndProc = (WNDPROC) WndProc;

wc.cbClsExtra = 0;

Advertising