Research Catalog

Win32 API programming with Visual Basic / Steven Roman.

Title
Win32 API programming with Visual Basic / Steven Roman.
Author
Roman, Steven.
Publication
Sebastopol, CA : O'Reilly, 2000.

Items in the Library & Off-site

Filter by

2 Items

StatusVol/DateFormatAccessCall NumberItem Location
TextUse in library QA76.66 .R66 2000Off-site
CD-ROM 4 3/4"TextUse in library QA76.66 .R66 2000 CD-ROM 4 3/4"Off-site

Holdings

Details

Description
xix, 511 p. : ill.; 24 cm. +
Subject
  • Application software
  • Microsoft Visual Basic for applications
  • Microsoft Win32
  • Systems programming (Computer science)
Note
  • "Taking advantage of Windows system services"--Cover.
  • Includes index.
System Details (note)
  • System requirements for computer disk: Windows 95 or higher or Windows NT; Microsoft Visual Basic.
Processing Action (note)
  • committed to retain
Contents
I. Declaring API Functions in Visual Basic 1 -- What Is the Win32 API? 4 -- Obstacles to Win32 API Programming Under Visual Basic 7 -- Proceed with Circumspection 8 -- Character Codes 12 -- Parameters and Arguments 14 -- Dynamic Link Libraries 15 -- Some C++ Syntax 18 -- Pointers 19 -- 3. API Declarations 24 -- VB Declare Statement 25 -- VC-to-VB Translation Game Plan 28 -- Passing Parameters to an External Function 28 -- CopyMemory--A VB Hacker's Dream 32 -- Dealing with API Errors 36 -- 4. Data Types 41 -- What Is a Data Type? 41 -- Fundamental and Derived Data Types 43 -- Visual Basic Data Types 43 -- Basic VC++ Data Types 47 -- Translating Derived Data Types 53 -- Win32 Typedefs 53 -- Structures and User-Defined Types 58 -- Flags 60 -- Symbolic Constants 62 -- 5. Signed and Unsigned Data Types 64 -- Signed and Unsigned Representations 64 -- Why Two Different Representations? 65 -- Unsigned Representation 66 -- Signed Representation 67 -- Translating Between Signed and Unsigned Representations 69 -- Converting Between Word Lengths 76 -- 6. Strings 78 -- BSTR 79 -- C-Style LPSTR and LPWSTR Strings 81 -- String Terminology 82 -- Tools for Exploring Strings 83 -- String Conversion by VB 88 -- Passing Strings to the Win32 API 94 -- Strings and Byte Arrays 106 -- Getting the Address of a Variable of User-Defined Type 116 -- 7. System Information Functions 118 -- Computer's Name 118 -- Special Windows Paths 119 -- Operating System Version 121 -- System Metrics 123 -- System Parameters 124 -- System Colors 127 -- 8. Exception Handling 130 -- Thwarting the General Protection Fault 130 -- Replacing the Default Exception Handler 131 -- Replacement Exception Handler 132 -- II. Windows Operating System 139 -- 9. Windows Architecture 141 -- Processes and Threads 141 -- Windows Architecture 142 -- Differences Between Windows 9x and Windows NT 148 -- 10. Objects and Their Handles 150 -- Handles 151 -- Example: File Mapping 153 -- 11. Processes 160 -- Process Handles and IDs 161 -- Module Handles 162 -- Identifying a Process 163 -- Process Pseudohandles 171 -- Enumerating Processes 173 -- Is This Application Already Running? 179 -- 12. Threads 193 -- Thread Handles and Thread IDs 193 -- Thread Priority 194 -- Thread Synchronization 197 -- Waiting Can Be Tricky 208 -- 13. Windows Memory Architecture 209 -- Types of Memory 209 -- Address Space of a Process 213 -- Example: Using GetSystemInfo 218 -- Allocating Virtual Memory 220 -- Example: Using GlobalMemoryStatus 223 -- Virtual Memory Management 224 -- Heaps of Memory 229 -- Example: Mapping Virtual Memory 231 -- 14. Portable Executable Files 238 -- Module Relocation 239 -- PE File Format 241 -- Example: Getting PE File Information 253 -- III. Windows (USER32. DLL Programming) 261 -- 15. Windows: The Basics 263 -- Terminology 263 -- Window Styles 264 -- Owned Windows 267 -- Z Order 268 -- Enumerating Windows 271 -- Size and Position Functions 275 -- 16. Windows Messages 281 -- Message Queues of a Thread 283 -- Windows Messaging System 284 -- Posting and Sending Messages 289 -- Example: Sending Messages to a Listbox 291 -- Interprocess Marshalling 296 -- Copying Data Between Processes 297 -- Local Input State 298 -- 17. Window Classes and the Window Creation Process 305 -- Window Classes 305 -- Predefined Window Classes 307 -- Window Procedure of a Window Class 307 -- Creating a Window 308 -- Window Styles 309 -- Windows and VB Controls 312 -- Example: Spying on Windows 313 -- 18. Windows Subclassing 317 -- Subclassing a Window or Window Class 317 -- Example: Subclassing the VB Checkbox Class 319 -- 19. Windows Hooks 322 -- Global and Thread-Specific Hooks 322 -- Setting the Hook 324 -- Hook Procedures 325 -- Hook Types 326 -- Hook Chains 327 -- Example: A Local Hook 327 -- Example: A Global Hook 331 -- 20. DLL Injection and Foreign Process Access 340 -- Accessing a Foreign Process: The Hooked Thread Graph 340 -- Allocating Foreign Memory 346 -- Example: Foreign Control Extraction 347 -- Example: Fixing the VB6 Help System 350 -- IV. Windows GDI (GDI32. DLL Programming) 353 -- 21. Bitmaps 355 -- Rectangles 355 -- Bitmaps 356 -- Bitmap Functions 360 -- Using Bitmaps in Menus 369 -- 22. Device Contexts I: Overview 371 -- How Windows Handles Window Painting 372 -- Device Contexts 376 -- 23. Device Contexts II: Types of Device Contexts 390 -- Information Device Contexts 390 -- Memory Device Contexts 392 -- Printer Device Contexts 393 -- Display Device Contexts 401 -- Coordinate Systems 403 -- 24. Device Contexts III: Coordinate Systems 407 -- GDI Coordinate Systems 407 -- Virtual Space 409 -- Device Space 409 -- Page Space 411 -- Virtual Space to Physical Space 413 -- Setting Up Logical Coordinates in Physical Space 416 -- Mapping Modes 419 -- World Space 422 -- 25. Fonts 426 -- Font Families 427 -- Font Technologies 427 -- Character Sets 428 -- Logical and Physical Fonts 428 -- Enumerating Fonts 431.
ISBN
1565926315
Owning Institutions
Harvard Library