cb (ULONG) - input

      The length, in bytes, of arCP.

    arCP (PULONG) - output

      The returned data list.

      The first ULONG is the current code page identifier of the calling process.

      If one or two code pages have been prepared for the system, then the second ULONG is the first prepared code page, and the third ULONG is the second prepared code page.

      If the data length is less than the number of bytes needed to return all of the prepared system code pages, then the returned list is truncated.

      The code page identifiers have the values described in the following list:

      437

        United States
      850
        Multilingual
      852
        Latin 2 (Czechoslovakia, Hungary, Poland, Yugoslavia)
      857
        Turkish
      860
        Portuguese
      861
        Iceland
      863
        Canadian French
      865
        Nordic
      932
        Japan
      934
        Korea
      936
        People's Republic of China
      938
        Taiwan
      942
        Japan SAA
      944
        Korea SAA
      946
        People's Republic of China SAA
      948
        Taiwan SAA
      Note: Code pages 932, 934, 936, 938, 942, 944, 946, and 948 are supported only with the Asian version of the operating system on Asian hardware.

    pcCP (PULONG) - output

      The length, in bytes, of the returned data.

    ulrc (APIRET) - returns

      Return Code.

      DosQueryCp returns one of the following values:

    • NO_ERROR 473
        ERROR_CPLIST_TOO_SMALL
      474
        ERROR_CP_NOT_MOVED
      For a full list of error codes, see Errors.


    [Back] [Next]