Programming/MFC
Windows DATA type
_Erato
2006. 3. 22. 19:35
|
Value | Meaning |
---|---|
ATOM | Atom. For more information, see |
BOOL | Boolean variable (should be TRUE or FALSE). |
BOOLEAN | Boolean variable (should be TRUE or FALSE). |
BYTE | Byte (8 bits). |
CALLBACK | Calling convention for callback functions. |
CHAR | 8-bit Windows (ANSI) character. For more information, see |
COLORREF | Red, green, blue (RGB) color value (32 bits). SeeCOLORREFfor information on this type. |
CONST | Variable whose value is to remain constant during execution. |
CRITICAL_SECTION | Critical-section object. For more information, see |
DWORD | 32-bit unsigned integer. |
DWORD_PTR | Unsigned long type for pointer precision. Use when casting a pointer to a long type to perform pointer arithmetic. (Also commonly used for general 32-bit parameters that have been extended to 64 bits in 64-bit Windows. ) |
DWORD32 | 32-bit unsigned integer. |
DWORD64 | 64-bit unsigned integer. |
FLOAT | Floating-point variable. |
HACCEL | Handle to an |
HANDLE | Handle to an object. |
HBITMAP | Handle to a |
HBRUSH | Handle to a |
HCONV | Handle to a dynamic data exchange (DDE) conversation. |
HCONVLIST | Handle to a DDE conversation list. |
HCURSOR | Handle to a |
HDC | Handle to a |
HDDEDATA | Handle to DDE data. |
HDESK | Handle to a |
HDROP | Handle to an internal drop structure. |
HDWP | Handle to a deferred window position structure. |
HENHMETAFILE | Handle to an |
HFILE | Handle to a file opened by |
HFONT | Handle to a |
HGDIOBJ | Handle to a GDI object. |
HGLOBAL | Handle to a global memory block. |
HHOOK | Handle to a |
HICON | Handle to an |
HIMAGELIST | Handle to an image list. |
HIMC | Handle to input context. |
HINSTANCE | Handle to an instance. |
HKEY | Handle to a registry key. |
HKL | Input locale identifier. |
HLOCAL | Handle to a local memory block. |
HMENU | Handle to a |
HMETAFILE | Handle to a |
HMODULE | Handle to a module. The value is the base address of the module. |
HMONITOR | Handle to a display monitor. |
HPALETTE | Handle to a |
HPEN | Handle to a |
HRGN | Handle to a |
HRSRC | Handle to a resource. |
HSZ | Handle to a DDE string. |
HWINSTA | Handle to a |
HWND | Handle to a |
INT | 32-bit signed integer. |
INT_PTR | Signed integral type for pointer precision. Use when casting a pointer to an integer to perform pointer arithmetic. |
INT32 | 32-bit signed integer. |
INT64 | 64-bit signed integer. |
LANGID | Language identifier. For more information, see |
LCID | Locale identifier. For more information, see |
LCTYPE | Locale information type. For a list, see |
LONG | 32-bit signed integer. |
LONG_PTR | Signed long type for pointer precision. Use when casting a pointer to a long to perform pointer arithmetic. |
LONG32 | 32-bit signed integer. |
LONG64 | 64-bit signed integer. |
LONGLONG | 64-bit signed integer. |
LPARAM | Message parameter. |
LPBOOL | Pointer to aBOOL. |
LPBYTE | Pointer to aBYTE. |
LPCOLORREF | Pointer to aCOLORREFvalue. |
LPCRITICAL_SECTION | Pointer to aCRITICAL_SECTION. |
LPCSTR | Pointer to a constant null-terminated string of 8-bit Windows (ANSI) characters. For more information, see |
LPCTSTR | AnLPCWSTRif |
LPCVOID | Pointer to a constant of any type. |
LPCWSTR | Pointer to a constant null-terminated string of 16-bit Unicode characters. For more information, see |
LPDWORD | Pointer to aDWORD. |
LPHANDLE | Pointer to aHANDLE. |
LPINT | Pointer to anINT. |
LPLONG | Pointer to aLONG. |
LPSTR | Pointer to a null-terminated string of 8-bit Windows (ANSI) characters. For more information, see |
LPTSTR | AnLPWSTRif |
LPVOID | Pointer to any type. |
LPWORD | Pointer to aWORD. |
LPWSTR | Pointer to a null-terminated string of 16-bit Unicode characters. For more information, see |
LRESULT | Signed result of message processing. |
LUID | Locally unique identifier. |
PBOOL | Pointer to aBOOL. |
PBOOLEAN | Pointer to aBOOL. |
PBYTE | Pointer to aBYTE. |
PCHAR | Pointer to aCHAR. |
PCRITICAL_SECTION | Pointer to aCRITICAL_SECTION. |
PCSTR | Pointer to a constant null-terminated string of 8-bit Windows (ANSI) characters. For more information, see |
PCTSTR | APCWSTRif |
PCWCH | Pointer to a constantWCHAR. |
PCWSTR | Pointer to a constant null-terminated string of 16-bit Unicode characters. For more information, see |
PDWORD | Pointer to aDWORD. |
PFLOAT | Pointer to aFLOAT. |
PHANDLE | Pointer to aHANDLE. |
PHKEY | Pointer to anHKEY. |
PINT | Pointer to anINT. |
PLCID | Pointer to anLCID. |
PLONG | Pointer to aLONG. |
PLUID | Pointer to aLUID. |
POINTER_32 | 32-bit pointer. On a 32-bit system, this is a native pointer. On a 64-bit system, this is a truncated 64-bit pointer. |
POINTER_64 | 64-bit pointer. On a 64-bit system, this is a native pointer. On a 32-bit system, this is a sign-extended 32-bit pointer. |
PSHORT | Pointer to aSHORT. |
PSTR | Pointer to a null-terminated string of 8-bit Windows (ANSI) characters. For more information, see |
PTBYTE | Pointer to aTBYTE. |
PTCHAR | Pointer to aTCHAR. |
PTSTR | PWSTRif |
PTBYTE | Pointer to aTBYTE. |
PTCHAR | Pointer to aTCHAR. |
PTSTR | APWSTRif |
PUCHAR | Pointer to aUCHAR. |
PUINT | Pointer to aUINT. |
PULONG | Pointer to aULONG. |
PUSHORT | Pointer to aUSHORT. |
PVOID | Pointer to any type. |
PWCHAR | Pointer to aWCHAR. |
PWORD | Pointer to aWORD. |
PWSTR | Pointer to a null-terminated string of 16-bit Unicode characters. For more information, see |
REGSAM | Security access mask for registry key. |
SC_HANDLE | Handle to a service control manager database. For more information, see |
SC_LOCK | Handle to a service control manager database lock. For more information, see |
SERVICE_STATUS_HANDLE | Handle to a service status value. For more information, see |
SHORT | Short integer (16 bits). |
SIZE_T | The maximum number of bytes to which a pointer can point. Use for a count that must span the full range of a pointer. |
SSIZE_ T | SignedSIZE_T. |
TBYTE | AWCHARif |
TCHAR | AWCHARif |
UCHAR | UnsignedCHAR. |
UINT | UnsignedINT. |
UINT_PTR | UnsignedINT_PTR. |
UINT32 | UnsignedINT32. |
UINT64 | UnsignedINT64. |
ULONG | UnsignedLONG. |
ULONG_PTR | UnsignedLONG_PTR. |
ULONG32 | UnsignedLONG32. |
ULONG64 | UnsignedLONG64. |
ULONGLONG | 64-bit unsigned integer. |
UNSIGNED | Unsigned attribute. |
USHORT | UnsignedSHORT. |
VOID | Any type. |
WCHAR | 16-bit Unicode character. For more information, see |
WINAPI | Calling convention for system functions. |
WORD | 16-bit unsigned integer. |
WPARAM | Message parameter. |
Platform SDK Release:February 2003
내용출처 : MSDN |