win12.hlp (Table of Contents; Topic list)
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