win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinQueryCp (1.2)
Function Group                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINCOUNTRY
 
USHORT WinQueryCp(hmq)
HMQ hmq;    /* handle of the message queue */
 
The WinQueryCp function retrieves the code page for the specified message
queue.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hmq        Identifies a message queue.
 
Return Value
 
The return value is the code page for the specified message queue if the
function is successful. Otherwise, it is zero, indicating that an error
occurred.
 
See Also
 
DosGetCp, GpiQueryCp, VioGetCp