pBuf (PCHAR) - output

      The data area where the country-dependent information for the DBCS environmental vector is returned.

      The caller provides this memory area. The size of the area is specified by the input parameter cb.

      If this area is too small to hold all of the available information, then as much information as possible is provided in the available space (in the order in which the data would appear). Assuming that the data area is large enough, the valid information is terminated by two bytes of 0. The format of the information returned in this buffer is as follows:

    • Bytes
        First range definition for DBCS lead byte values:

        Byte 1

          binary start value (inclusive) for range one
        Byte 2
          binary stop value (inclusive) for range one
        2 Bytes
          Second range definition:

          Byte 1

            binary start value for range two
          Byte 2
            binary stop value for range two
          2 Bytes
            Nth range definition:

            Byte 1

              binary start value for Nth range
            Byte 2
              binary stop value for Nth range
            2 Bytes
              Two bytes of binary 0 end the list.
              For example: DB   81H,9FH
                           DB   E0H,FCH
                           DB   0,0
              
              


            [Back] [Next]