SAMPLE: WinCPIC.exe CPI-C API for 16-bit and 32-Bit Windows (93249)



The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) 3.1

This article was previously published under Q93249

SUMMARY

Windows CPI-C defines a standard and consistent API for the 16 and 32-bit versions of the Microsoft Windows graphical environment. It encompasses a set of Windows-specific extensions designed to allow the programmer to take advantage of the message-driven nature of the Windows graphical environment.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

This API has been designed and specified to provide a standard to which application developers can program and network software vendors can conform. These API details constitute documentation for application software developers and a specification for network software vendors.

Network software that conforms to this Windows CPI-C specification will be considered "Windows CPI-C compliant." To be Windows CPI-C compliant, a vendor must implement 100 percent of this Windows CPI-C specification. Suppliers of such interfaces shall be referred to as "Windows CPI-C suppliers."

Applications that are capable of exploiting any Windows CPI-C implementation will be considered as having a "Windows CPI-C interface" and will be referred to as "Windows CPI-C applications."

While this is one of the WinSNA APIs to be standardized for the Windows environment, it is beyond the scope of this document to deal with other SNA (Systems Network Architecture) APIs.

Microsoft Windows Graphical Environment and Windows-Specific Extensions

This API has been designed for ALL implementations and versions of the Windows environment from and including version 3.0. It thus provides for Windows CPI-C implementations and Windows CPI-C applications in both 16 and 32-bit operating environments.

Windows CPI-C makes provisions for multithreaded Windows-based processes. A process contains one or more threads of execution. In the Win16 non- multithreaded world, a task corresponds to a process with a single thread. All references to threads in this document refer to actual "threads" in multithreaded Windows environments. In non-multithreaded environments (such as version 3.0), use of the term thread refers to a Windows process.

The extensions to the Windows environment included in Windows CPI-C are provided for maximum programming compatibility between Windows 3.x and Windows NT and optimum application performance in both environments.

Modification Type:MinorLast Reviewed:8/4/2004
Keywords:kbAPI kbfile kbnetwork kbSample KB93249 kbAudDeveloper