Win32 Extensions

The most fundamental interface to Windows features is provided by the Win32 extensions. In most cases, these modules provide access similar to the Win32 API that C or C++ programmers would have, such as access to Windows handles and other low-level concepts.

Table 3.1 displays the Win32 extension modules.

Table 3.1. Win32 Extension Modules

Module

Description

mmapfile

Interfaces to Windows memory-mapped files, a mechanism that allows data to be shared among multiple processes.

odbc

An interface to the Open DataBase Connectivity API, a portable API for connecting to multiple databases. We discuss ODBC and other database techniques in Chapter 13.

win32api

Accesses many of the common and simple Windows APIs; a general-purpose module with a cross section of API support.

win32event

Accesses the Windows event and signaling API. This module allows you to manipulate and wait for Windows events, semaphores, mutexes, etc.

win32evtlog

win32evtlogutil

An interface to the Windows NT Event Log. The win32evtlog module provides a raw interface to the Windows NT API, while the win32evtlogutil module provides utilities to simplify working with the module. This is discussed in Chapter 18 .

win32pdh

An interface to the Windows NT Performance Monitor. This module uses a helper DLL provided by Microsoft known as the Performance Data Helper or PDH. We discuss the Windows NT Performance Monitor in Chapter 18.

win32pipe

Accesses the pipe-related Win32 functions, ...

Get Python Programming On Win32 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.