HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
WinCPICStartup
Chapter 3308
WinCPICStartup
For Windows The application uses this function to register as a Windows CPI-C user,
and to determine whether the CPI-C software supports the Windows
CPI-C version that it requires.
Function Call
int WINAPI WinCPICStartup (
WORD wVersionRequired;
LPWCPICDATA lpData;
)
typedef struct
{
WORD wVersion;
char szDescription[128];
} WCPICDATA;
Supplied Parameters
The supplied parameter is:
wVersionRequired
The version of Windows CPI-C that the application
requires. SNAplus2 supports version 1.0.
The low-order byte of this parameter specifies the
major version number, and the high-order byte
specifies the minor version number. For example:
If the application can use more than one version, it
should specify the highest version that it can use.
Table 3-14
Version wVersionRequired
1.0 0x0001
1.1 0x0101
2.0 0x0002