수안이의 컴퓨터 연구실

  • Mainpage
  • About Me
  • Tags
  • Metapage
  • Notice
  • Location
  • Keywords
  • Guestbook
  • Admin
  • Write an Article
  • Total | 1693857
  • Today | 208
  • Yesterday | 588

Programming/Win32 API2006/08/13 12:28

Platform SDK Win32 API - Data Types

Platform SDK Win32 API

Data Types

The data types supported by the Microsoft® Win32® API 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.

TypeDefinition
ATOMAtom (a reference to a character string in an atom table).
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. For more information, see Character Sets Used By Fonts.
COLORREFRed, green, blue (RGB) color value (32 bits). See COLORREF for information on this type.
CONSTVariable whose value is to remain constant during execution.
CRITICAL_SECTIONCritical-section object.
CTRYIDCountry identifier.
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.
FILE_SEGMENT_ELEMENT64-bit pointer to a buffer.
HACCELHandle to an accelerator table.
HANDLEHandle to an object.
HBITMAPHandle to a bitmap.
HBRUSHHandle to a brush.
HCOLORSPACEHandle to a logical color space.
HCONVHandle to a dynamic data exchange (DDE) conversation.
HCONVLISTHandle to a DDE conversation list.
HCURSORHandle to a cursor.
HDCHandle to a device context (DC).
HDDEDATAHandle to DDE data.
HDESKHandle to a desktop.
HDROPHandle to an internal drop structure.
HDWPHandle to a deferred window position structure.
HENHMETAFILEHandle to an enhanced metafile.
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.
HMETAFILEHandle to a metafile.
HMODULEHandle to a 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.
IPADDRIP address. To convert this value to the "a.b.c.d" string form of an IP address, map the high-order byte to a, the low-order byte to d, and so on.
IPMASKSubnet mask. Uses the same format as IPADDR.
LANGIDLanguage identifier. For more information, see Locales.
LCIDLocale identifier. For more information, see Locales.
LCSCSTYPEColor space type.
LCSGAMUTMATCHGamut-matching method.
LCTYPELocale information type. For a list, see Locale and Language Information
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. For more information, see Character Sets Used By Fonts.
LPCTSTRAn LPCWSTR if UNICODE is defined, an LPCSTR otherwise.
LPCVOIDPointer to a constant of any type.
LPCWSTRPointer to a constant null-terminated string of 16-bit Unicode characters. For more information, see Character Sets Used By Fonts.
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. For more information, see Character Sets Used By Fonts.
LPTSTRAn LPWSTR if UNICODE is defined, an LPSTR otherwise.
LPVOIDPointer to any type.
LPWORDPointer to a WORD.
LPWSTRPointer to a null-terminated string of 16-bit Unicode characters. For more information, see Character Sets Used By Fonts.
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. For more information, see Character Sets Used By Fonts.
PCTSTRA PCWSTR if UNICODE is defined, a PCSTR otherwise.
PCWCHPointer to a constant WCHAR.
PCWSTRPointer to a constant null-terminated string of 16-bit Unicode characters. For more information, see Character Sets Used By Fonts.
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. On a 32-bit system, this is a native pointer. On a 64-bit system, this is a truncated 64-bit pointer.
POINTER_6464-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.
PSHORTPointer to a SHORT.
PSTRPointer to a null-terminated string of 8-bit Windows (ANSI) characters. For more information, see Character Sets Used By Fonts.
PTBYTEPointer to a TBYTE.
PTCHARPointer to a TCHAR.
PTSTRA PWSTR if UNICODE is defined, a PSTR otherwise.
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. For more information, see Character Sets Used By Fonts.
REGSAMSecurity access mask for registry key.
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 if UNICODE is defined, a CHAR otherwise.
TCHARA WCHAR if UNICODE is defined, a CHAR otherwise.
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. For more information, see Character Sets Used By Fonts.
WINAPICalling convention for the Win32 API.
WORD16-bit unsigned integer.
WPARAMMessage parameter.

Built on Thursday, October 12, 2000
"Win32 API" 카테고리의 다른 글
  • The Internet API (0)2006/08/13
  • Platform SDK: Windows Internet - HTTP Sessions (0)2006/08/13
  • Platform SDK Win32 API - Data Types (0)2006/08/13
  • API 프로그래밍 유용한 팁 (0)2006/08/12
  • Win32 Global API Hook - 제3강 Win32 어셈블리 프... (0)2006/08/12
2006/08/13 12:28 2006/08/13 12:28
Posted by webdizen
No Trackback No Comment

Trackback URL : http://www.webdizen.net/blog/trackback/1880

Leave your greetings.

[로그인][오픈아이디란?]

«Prev  1 ... 1355 1356 1357 1358 1359 1360 1361 1362 1363 ... 3009  Next»

RSS HanRSS
Blog Image
webdizen
이곳은 컴퓨터에 대해 연구하고, 공유하고, 소통하기 위한 연구실입니다. 개인적으로는 OLAP, Data Mining, Semantic Web, Data Modeling에 대해서 연구하고 있습니다.

Categories

전체 (3009)
Webdizen (141)
Life (6)
Diary (16)
Blog (9)
IDEA (2)
Travel (10)
Book (16)
Photo (7)
Movie (8)
Music (14)
Leisure Sports (10)
Funny (6)
Hardware (121)
Software (120)
Windows (5)
Unix & Linux (120)
Installation (5)
Kernel (10)
System (34)
Develop (22)
X-Window (0)
Applicaton (31)
Security (4)
Framework (2)
Hadoop (2)
Programming (804)
Algorithm & Data Structure (1)
Assembly (38)
UNIX/Linux C (95)
C++ (128)
STL (4)
Java (38)
Win32 API (92)
ATL/COM (44)
MFC (151)
.NET (26)
WCF/WPF (4)
C# (28)
Network Programming (17)
Database Programming (12)
OpenGL / DirectX (13)
Multimedia Programming (0)
Game Programming (21)
Parallel Distributed Progra... (0)
Reverse Engineering (0)
Debugging (9)
Python (1)
Ruby (1)
Ruby on Rails (1)
QT (4)
GTK (0)
JSP (0)
PHP (6)
ASP.NET (6)
ASP (2)
Development (28)
Useful Library (2)
Data Modeling (0)
Database (105)
Oracle (4)
MSSQL (41)
MySQL (2)
Data Warehouse (2)
Data Mining (4)
Network (66)
Web (79)
DHTML (4)
XHTML (1)
Javascript (1)
CSS (1)
AJAX (9)
XML (11)
Flex (1)
Silverlight (3)
Security (91)
DoS (1)
Kernel (10)
Scanning (3)
Sniffing (0)
Spoofing (4)
Overflow (28)
Web (11)
Shell (10)
Format String (14)
Window (2)
Embedded (70)
Multimedia (27)
Mobile (14)
Graphic (24)
Management (633)
Knowledge (581)
Hadoop (0)

Notice

  • 메타 블로그 사이트에 등록
  • 새해 맞이 블로그의 변화
  • 블로그 명칭 변경
  • 도메인(www.webdizen.net) 구...
  • TEXTCUBE 1.6.1로 업그레이드...

Tags

  • 프랑스
  • DB 보호
  • 임페리얼 드래곤
  • Library
  • 동시성
  • 환경
  • NirSoft
  • 싱크
  • php.MVC
  • MBCS
  • Standard
  • Performance
  • Semantic Web
  • SWAP
  • 스킨
  • RSS
  • eyeOS
  • 전처리
  • Database Server
  • Naver

Recent Articles

  • 트위터(Twitter)의 시작!.
  • 청년 리더의 조건.
  • 애플의 타블렛 PC - 아이패드....
  • 미래의 인터페이스 - 육감 기....
  • 기초발성법 동영상 강좌.

Recent Comments

  • 학교 과제물중 쓰레드에 대하....
    장진혁 03/17
  • 관리자만 볼 수 있는 댓글입....
    비밀방문자 03/12
  • 상대방의 이야기를 열심히 경....
    DoNuts 03/03
  • Lots of students know techn....
    Bobbi35Shannon 02/25
  • 좋은글 잘 보고 갑니다..
    Und_hacker 01/08

Recent Trackbacks

  • printf,scanf를 이용한 형식....
    yundream의 프로그래밍 이야기 03/10
  • 파일 열기/저장하기 CFileDialog.
    은마군의 나태블록 2009
  • World IT Show 2008.
    상우 :: Oranzie's BLOG 2008
  • cvs서버 설치하기.
    3인3색 2008
  • 속속 공개되는 Google Chart....
    PHP와 Web 2.0 2007

Archive

  • 2010/02 (1)
  • 2010/01 (6)
  • 2009/12 (5)
  • 2009/09 (3)
  • 2009/08 (1)

Calendar

«   2010/03   »
일 월 화 수 목 금 토
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Bookmarks

    • Administration
      • IIS.NET
      • NTFAQ
      • OS의 모든 것
      • 리눅스포털
    • Database
      • SQL Server Central
      • SQL Team
    • Development
      • .NET Heaven
      • ASP Alliance
      • ASP.NET 2.0
      • Bullog.net
      • C# Corner
      • C++ (C PlusPlus.com)
      • C++ Reference
      • CodeGuru
      • CodePlex
      • DebugLab
      • Dev Articles
      • Devpia
      • DotNet Junkies
      • DotNet Zone
      • Driver Online
      • GOSU.NET
      • HOONS 닷넷
      • Joinc 팀블로그
      • KOSR
      • MSDN Home Page
      • OSR Online
      • Sky.ph - 개발자 커뮤니...
      • TAEYO.NET
      • The Code Project
      • WindowsClient.net
      • 김상욱의 개발자 Side
      • 조인시 위키
    • Human Networks
      • belief21c's e-space
      • I think I can
      • Invisible Rover's Blog :D
      • Rodman®
      • ■ Feel So Good~! ■
      • 까만 나비
      • 나를 가꾸는 시간.
      • 나만의 즐거움~~!
      • 단녕
      • 상우 :: Oranzie's BLOG
    • Information Technology
      • Microsoft TechNet
      • 지디넷코리아 - 글로벌...
    • Security
      • FoundStone
      • milw0rm
      • NewOrder
      • OpenRCE
      • Phrack.org
      • Reverse Engineering b1...
      • Reverse Engineering Team
      • RootKit
      • SecurityFocus
      • SecurityXploded by Nag...
      • Wow Hacker
      • Zone-H
Textcube
Louice Studio Inc.
Powered by Textcube. Original designed by Tistory.