pb (PCHAR) - output

      Pointer to the caller's buffer area.

      This buffer area is where the system returns the requested message file list of code pages and language identifiers.

    cb (ULONG) - input

      The length, in bytes, of pb.

    pszFilename (PSZ) - input

      The file specification of the message file.

      The drive designation and path are optional. This specifies a file that was previously prepared by the MKMSGF utility program.

    cbBuf (PULONG) - output

      Pointer to the ULONG that receives the actual length, in bytes, of the returned data.

    ulrc (APIRET) - returns

      Return Code.

      DosQueryMessageCP returns one of the following values:

    • NO_ERROR 2
        ERROR_FILE_NOT_FOUND
      206
        ERROR_FILENAME_EXCED_RANGE
      318
        ERROR_MR_UN_ACC_MSGF
      319
        ERROR_MR_INV_MSGF_FORMAT
      321
        ERROR_MR_UN_PERFORM
      For a full list of error codes, see Errors.


    [Back] [Next]