Unmanaged type in Wtypes.h

Unmanaged C language type

Managed class name

Description

HANDLE

void*

System..::.IntPtr

32 bits on 32-bit Windows operating systems, 64 bits on 64-bit Windows operating systems.

BYTE

unsigned char

System..::.Byte

8 bits

SHORT

short

System..::.Int16

16 bits

WORD

unsigned short

System..::.UInt16

16 bits

INT

int

System..::.Int32

32 bits

UINT

unsigned int

System..::.UInt32

32 bits

LONG

long

System..::.Int32

32 bits

BOOL

long

System.Int32

32 bits

DWORD

unsigned long

System..::.UInt32

32 bits

ULONG

unsigned long

System..::.UInt32

32 bits

CHAR

char

System..::.Char

Decorate with ANSI.

LPSTR

char*

System.Text..::.StringBuilder

Decorate with ANSI.

LPCSTR

Const char*

System.Text..::.StringBuilder

Decorate with ANSI.

LPWSTR

wchar_t*

System.Text..::.StringBuilder

Decorate with Unicode.

LPCWSTR

Const wchar_t*

System.Text..::.StringBuilder

Decorate with Unicode.

FLOAT

Float

System..::.Single

32 bits

DOUBLE

Double

System..::.Double

64 bits

 

 

相关文章:

  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2022-02-02
  • 2022-01-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-18
  • 2021-09-03
  • 2021-06-21
相关资源
相似解决方案