• Microsoft Developer Network
  • ▶Highlights
  • ▶Technical Articles
  • ▶Sample Code
  • ▶Resource and Strategy
  • ▶Knowledge Base and Bug Lists
  • ▼Books and Magazine Articles
    • ▼Programming Windows 3.0 (Petzold)
      • Preface
      • ▶PART 1 GETTING STARTED
      • ▶PART 2 READING INPUT
      • ▼PART 3 USING RESOURCES
        • PART 3 USING RESOURCES
        • ▼Chapter 7 Memory Management
          • Chapter 7 Memory Management
          • SEGMENTED MEMORY, INTEL STYLE
          • ▶MEMORY ORGANIZATION IN WINDOWS
          • ▶CODE AND DATA SEGMENTS
          • ▶HOW WINDOWS MOVES AND RELOADS PROGRAM SEGMENTS
          • ▼ALLOCATING MEMORY WITHIN A PROGRAM
            • ALLOCATING MEMORY WITHIN A PROGRAM
            • Lock Your Blocks
            • A Quick Example
            • Global Memory Functions
            • More Global Memory Functions
            • Using Discardable Global Memory
            • Huge Global Memory Blocks
            • Allocating Local Memory
            • Other Local Memory Functions
            • Locking Your Own Data Segment
            • Memory Allocation Shortcuts
            • Using C Memory Allocation Functions
            • If You Know You're Running in Protected Mode
        • ▶Chapter 8 Icons, Cursors, Bitmaps, and Strings
        • ▶Chapter 9 Menus and Accelerators
        • ▶Chapter 10 Dialog Boxes
      • ▶PART 4 THE GRAPHICS DEVICE INTERFACE
      • ▶PART 5 DATA EXCHANGE AND LINKS
    • ▶Advanced MS-DOS Programming
    • ▶MS-DOS Programmer's Reference
    • ▶MS Systems Journal
  • ▶Product Documentation
  • ▶Unsupported Tools & Utilities