Windows CE Win32 API Programming 

by Bruce Radtke





Example 1:



#ifndef _WIN32_WCE

const DWORD White        = 0x00FFFFFF;

const DWORD Black        = 0x00000000;

const DWORD LightGray    = 0x00C0C0C0;

const DWORD DarkGray     = 0x00808080;

#else

const DWORD White        =0x01000003;

const DWORD Black        =0x01000000;

const DWORD LightGray    =0x01000002;

const DWORD DarkGray     = 0x01000001;

#endif



Example 2:



#include <tchar.h>

TCHAR buffer[128];

_tcscpy(  buffer,   _T("Portable string functions");







1



