3.7. WNet Functions

Windows is designed to work with networks. When several Windows machines exist on a network, they can easily share disk drives and printers with one another. Both the File Manager and the Print Manager provide easy ways for users to connect to these shared devices. The 32-bit APIs also gives you mechanisms to connect to these devices from within your applications.

Windows sees the network as a tree. Any Windows network is divided into a series of domains, each of which contains a set of machines. Each machine can share zero or more drives, directories, or printers on the network. This arrangement is shown in Figure 3.2.

Figure 3.2. A typical Windows network

The 32-bit APIs contains a set of functions that allows you ...

Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 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.