Windows CE 5.0 数据类型大全

摘录自<Platform Builder for Microsoft Windows CE 5.0 Help>,位于"Windows CE Features > Shell and User Interface > Graphics, Windowing and Events > GWES Reference > Windows Reference"

The data types supported by Microsoft® Windows® CE are used to define function return values, function and message parameters, and structure members. They define the size and meaning of these elements.

The following table contains the following types: character, integer, Boolean, pointer, and handle. The character, integer, and Boolean types are common to most C compilers. Most of the pointer-type names begin with a prefix of P or LP. Handles refer to a resource that has been loaded into memory.

Data TypeDescription
ATOMAtom. For more information, see Using Atoms.
BOOLBoolean variable (should be TRUE or FALSE).
BOOLEANBoolean variable (should be TRUE or FALSE).
BYTEByte (8 bits).
CALLBACKCalling convention for callback functions.
CHAR8-bit Windows (ANSI) character.
COLORREFRed, green, blue (RGB) color value (32 bits). For more information, see COLORREF.
CONSTVariable whose value is to remain constant during execution.
CRITICAL_SECTIONCritical-section object. For more information, see Critical Section Objects .
DWORD32-bit unsigned integer.
DWORD_PTRUnsigned long type for pointer precision. Use when casting a pointer to a long type to perform pointer arithmetic.
DWORD3232-bit unsigned integer.
DWORD6464-bit unsigned integer.
FLOATFloating-point variable.
HACCELHandle to an accelerator table.
HANDLEHandle to an object.
HBITMAPHandle to a bitmap.
HBRUSHHandle to a brush.
HCONVNot supported.
HCONVLISTNot supported.
HCURSORHandle to a cursor.
HDCHandle to a device context (DC).
HDDEDATANot supported.
HDESKNot supported.
HDROPHandle to an internal drop structure.
HDWPHandle to a deferred window position structure.
HENHMETAFILENot supported.
HFILEHandle to a file opened by OpenFile, not CreateFile .
HFONTHandle to a font.
HGDIOBJHandle to a GDI object.
HGLOBALHandle to a global memory block.
HHOOKHandle to a hook.
HICONHandle to an icon.
HIMAGELISTHandle to an image list.
HIMCHandle to input context.
HINSTANCEHandle to an instance.
HKEYHandle to a registry key.
HKLInput locale identifier.
HLOCALHandle to a local memory block.
HMENUHandle to a menu.
HMETAFILENot supported.
HMODULEHandle to a module. The value is the base address of the module.
HMONITORHandle to a display monitor.
HPALETTEHandle to a palette.
HPENHandle to a pen.
HRGNHandle to a region.
HRSRCHandle to a resource.
HSZHandle to a DDE string.
HWINSTAHandle to a window station.
HWNDHandle to a window.
INT32-bit signed integer.
INT_PTRSigned integral type for pointer precision. Use when casting a pointer to an integer to perform pointer arithmetic.
INT3232-bit signed integer.
INT6464-bit signed integer.
LANGIDLanguage identifier. For more information, see Locale Identifiers .
LCIDLocale identifier. For more information, see Locale Identifiers .
LCTYPELocale information type. For more information, see LCTYPE Constants .
LONG32-bit signed integer.
LONG_PTRSigned long type for pointer precision. Use when casting a pointer to a long to perform pointer arithmetic.
LONG3232-bit signed integer.
LONG6464-bit signed integer.
LONGLONG64-bit signed integer.
LPARAMMessage parameter.
LPBOOLPointer to a BOOL.
LPBYTEPointer to a BYTE.
LPCOLORREFPointer to a COLORREF value.
LPCRITICAL_SECTIONPointer to a CRITICAL_SECTION.
LPCSTRPointer to a constant null-terminated string of 8-bit Windows (ANSI) characters.
LPCTSTRAn LPCWSTR because Windows CE only uses Unicode.
LPCVOIDPointer to a constant of any type.
LPCWSTRPointer to a constant null-terminated string of 16-bit Unicode characters.
LPDWORDPointer to a DWORD.
LPHANDLEPointer to a HANDLE.
LPINTPointer to an INT.
LPLONGPointer to a LONG.
LPSTRPointer to a null-terminated string of 8-bit Windows (ANSI) characters.
LPTSTRAn LPWSTR because Windows CE only uses Unicode.
LPVOIDPointer to any type.
LPWORDPointer to a WORD.
LPWSTRPointer to a null-terminated string of 16-bit Unicode characters.
LRESULTSigned result of message processing.
LUIDLocally unique identifier.
PBOOLPointer to a BOOL.
PBOOLEANPointer to a BOOL.
PBYTEPointer to a BYTE.
PCHARPointer to a CHAR.
PCRITICAL_SECTIONPointer to a CRITICAL_SECTION.
PCSTRPointer to a constant null-terminated string of 8-bit Windows (ANSI) characters.
PCTSTRA PCWSTR because Windows CE only uses Unicode.
PCWCHPointer to a constant WCHAR.
PCWSTRPointer to a constant null-terminated string of 16-bit Unicode characters.
PCWSTRPointer to a constant null-terminated string of 16-bit Unicode characters.
PDWORDPointer to a DWORD.
PDWORDPointer to a DWORD.
PFLOATPointer to a FLOAT.
PHANDLEPointer to a HANDLE.
PHKEYPointer to an HKEY.
PINTPointer to an INT.
PLCIDPointer to an LCID.
PLONGPointer to a LONG.
PLUIDPointer to a LUID.
POINTER_3232-bit pointer.
POINTER_6464-bit pointer. This is a sign-extended 32-bit pointer.
PSHORTPointer to a SHORT.
PSTRPointer to a null-terminated string of 8-bit Windows (ANSI) characters.
PTBYTEPointer to a TBYTE.
PTCHARPointer to a TCHAR.
PTSTRA PWSTR because Windows CE only uses Unicode.
PUCHARPointer to a UCHAR.
PUINTPointer to a UINT.
PULONGPointer to a ULONG.
PUSHORTPointer to a USHORT.
PVOIDPointer to any type.
PWCHARPointer to a WCHAR.
PWORDPointer to a WORD.
PWSTRPointer to a null-terminated string of 16-bit Unicode characters.
REGSAMNot supported.
SC_HANDLEHandle to a service control manager database.
SC_LOCKHandle to a service control manager database lock.
SERVICE_STATUS_HANDLEHandle to a service status value.
SHORTShort integer (16 bits).
SIZE_TThe maximum number of bytes to which a pointer can point. Use for a count that must span the full range of a pointer.
SSIZE_TSigned SIZE_T.
TBYTEA WCHAR because Windows CE only uses Unicode.
TCHARA WCHAR because Windows CE only uses Unicode.
UCHARUnsigned CHAR.
UINTUnsigned INT.
UINT_PTRUnsigned INT_PTR.
UINT32Unsigned INT32.
UINT64Unsigned INT64.
ULONGUnsigned LONG.
ULONG_PTRUnsigned LONG_PTR.
ULONG32Unsigned LONG32.
ULONG64Unsigned LONG64.
ULONGLONG64-bit unsigned integer.
UNSIGNEDUnsigned attribute.
USHORTUnsigned SHORT.
VOIDAny type.
WCHAR16-bit Unicode character.
WINAPICalling convention for system functions.
WORD16-bit unsigned integer.
WPARAMMessage parameter.
 
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
1、把下载后的DeviceEmulator模拟器文件夹放入D盘根目录。 2、安装DeviceEmulator中文版.exe 3、存储卡目录(自定),例:在C盘建一个文件夹SDMMC,这个文件夹相当于一体机的存储卡。 4、执行DE.exe,选择执行DE主程序:C:\Program Files\Microsoft Device Emulator\1.0\DeviceEmulator.exe 5、选择映像文件(CE50_ARM_CHS.bin) 或 4、把3.5/4.3/7寸模拟器.bat拷到桌面,双击运行即可。 ================================================================== 解压后操作步骤: 1、安装DeviceEmulator中文版.exe 2、执行DE.exe,选择执行DE主程序:C:\Program Files\Microsoft Device Emulator\1.0\DeviceEmulator.exe 3、选择映像文件(CE50_ARM_CHS.bin) 4、存储卡目录(自定) 我这里设置的是SDMMC 5、真正的WINCE系统出现了~~~ 市场上的导航仪都是WINCE系统哦,呵呵。。。 WINCE5.0模拟器调节分辨率方法: WINCE5.0模拟器可以改成任意尺寸和分辨率的。只是你不能用DE.exe来启动它。那个“启动助手”中缺少video参数的选项,如果想改变分辨率应该自已做一个批处理文件方更启动。 按装完“DeviceEmulator中文版.exe”后,将解压后的CE50_ARM_CHS.bin文件复制到C:\Program Files\Microsoft Device Emulator\1.0\里面。再将启动wince5模拟器.bat复制到同样的目录下。在该目录下运行“启动wince5模拟器.bat”。 320×240屏的(是3.5寸屏的),我设的是800*600,大点好,呵呵。。。自已修改“启动wince5模拟器.bat”中的相关数字就行了。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值