Retrieves a message file list of code pages and language identifiers.

#define INCL_DOSMISC
#include <os2.h>

PCHAR     pb;           /*  Pointer to the caller's buffer area. */
ULONG     cb;           /*  The length, in bytes, of pb. */
PSZ       pszFilename;  /*  The file specification of the message file. */
PULONG    cbBuf;        /*  Pointer to the ULONG that receives the actual length, in bytes, of the returned data. */
APIRET    ulrc;         /*  Return Code. */

ulrc = DosQueryMessageCP(pb, cb, pszFilename,
         cbBuf);


[Back] [Next]