' PBXB64 V15 Win64 type declarations
' Scalar WinAPI aliases are represented directly in DECLAREs: HANDLE/HWND/HDC/etc = QUAD; BOOL/INT/UINT = LONG; pointers = QUAD.
#IF NOT %DEF(PBX_WIN_TYPES_PBI)
#DEFINE PBX_WIN_TYPES_PBI

TYPE PBX_BYTE8
    b000 AS BYTE
    b001 AS BYTE
    b002 AS BYTE
    b003 AS BYTE
    b004 AS BYTE
    b005 AS BYTE
    b006 AS BYTE
    b007 AS BYTE
END TYPE

TYPE PBX_BYTE14
    b000 AS BYTE
    b001 AS BYTE
    b002 AS BYTE
    b003 AS BYTE
    b004 AS BYTE
    b005 AS BYTE
    b006 AS BYTE
    b007 AS BYTE
    b008 AS BYTE
    b009 AS BYTE
    b010 AS BYTE
    b011 AS BYTE
    b012 AS BYTE
    b013 AS BYTE
END TYPE

TYPE PBX_BYTE16
    b000 AS BYTE
    b001 AS BYTE
    b002 AS BYTE
    b003 AS BYTE
    b004 AS BYTE
    b005 AS BYTE
    b006 AS BYTE
    b007 AS BYTE
    b008 AS BYTE
    b009 AS BYTE
    b010 AS BYTE
    b011 AS BYTE
    b012 AS BYTE
    b013 AS BYTE
    b014 AS BYTE
    b015 AS BYTE
END TYPE

TYPE PBX_BYTE32
    b000 AS BYTE
    b001 AS BYTE
    b002 AS BYTE
    b003 AS BYTE
    b004 AS BYTE
    b005 AS BYTE
    b006 AS BYTE
    b007 AS BYTE
    b008 AS BYTE
    b009 AS BYTE
    b010 AS BYTE
    b011 AS BYTE
    b012 AS BYTE
    b013 AS BYTE
    b014 AS BYTE
    b015 AS BYTE
    b016 AS BYTE
    b017 AS BYTE
    b018 AS BYTE
    b019 AS BYTE
    b020 AS BYTE
    b021 AS BYTE
    b022 AS BYTE
    b023 AS BYTE
    b024 AS BYTE
    b025 AS BYTE
    b026 AS BYTE
    b027 AS BYTE
    b028 AS BYTE
    b029 AS BYTE
    b030 AS BYTE
    b031 AS BYTE
END TYPE

TYPE PBX_BYTE64
    b000 AS BYTE
    b001 AS BYTE
    b002 AS BYTE
    b003 AS BYTE
    b004 AS BYTE
    b005 AS BYTE
    b006 AS BYTE
    b007 AS BYTE
    b008 AS BYTE
    b009 AS BYTE
    b010 AS BYTE
    b011 AS BYTE
    b012 AS BYTE
    b013 AS BYTE
    b014 AS BYTE
    b015 AS BYTE
    b016 AS BYTE
    b017 AS BYTE
    b018 AS BYTE
    b019 AS BYTE
    b020 AS BYTE
    b021 AS BYTE
    b022 AS BYTE
    b023 AS BYTE
    b024 AS BYTE
    b025 AS BYTE
    b026 AS BYTE
    b027 AS BYTE
    b028 AS BYTE
    b029 AS BYTE
    b030 AS BYTE
    b031 AS BYTE
    b032 AS BYTE
    b033 AS BYTE
    b034 AS BYTE
    b035 AS BYTE
    b036 AS BYTE
    b037 AS BYTE
    b038 AS BYTE
    b039 AS BYTE
    b040 AS BYTE
    b041 AS BYTE
    b042 AS BYTE
    b043 AS BYTE
    b044 AS BYTE
    b045 AS BYTE
    b046 AS BYTE
    b047 AS BYTE
    b048 AS BYTE
    b049 AS BYTE
    b050 AS BYTE
    b051 AS BYTE
    b052 AS BYTE
    b053 AS BYTE
    b054 AS BYTE
    b055 AS BYTE
    b056 AS BYTE
    b057 AS BYTE
    b058 AS BYTE
    b059 AS BYTE
    b060 AS BYTE
    b061 AS BYTE
    b062 AS BYTE
    b063 AS BYTE
END TYPE

TYPE PBX_BYTE128
    b000 AS BYTE
    b001 AS BYTE
    b002 AS BYTE
    b003 AS BYTE
    b004 AS BYTE
    b005 AS BYTE
    b006 AS BYTE
    b007 AS BYTE
    b008 AS BYTE
    b009 AS BYTE
    b010 AS BYTE
    b011 AS BYTE
    b012 AS BYTE
    b013 AS BYTE
    b014 AS BYTE
    b015 AS BYTE
    b016 AS BYTE
    b017 AS BYTE
    b018 AS BYTE
    b019 AS BYTE
    b020 AS BYTE
    b021 AS BYTE
    b022 AS BYTE
    b023 AS BYTE
    b024 AS BYTE
    b025 AS BYTE
    b026 AS BYTE
    b027 AS BYTE
    b028 AS BYTE
    b029 AS BYTE
    b030 AS BYTE
    b031 AS BYTE
    b032 AS BYTE
    b033 AS BYTE
    b034 AS BYTE
    b035 AS BYTE
    b036 AS BYTE
    b037 AS BYTE
    b038 AS BYTE
    b039 AS BYTE
    b040 AS BYTE
    b041 AS BYTE
    b042 AS BYTE
    b043 AS BYTE
    b044 AS BYTE
    b045 AS BYTE
    b046 AS BYTE
    b047 AS BYTE
    b048 AS BYTE
    b049 AS BYTE
    b050 AS BYTE
    b051 AS BYTE
    b052 AS BYTE
    b053 AS BYTE
    b054 AS BYTE
    b055 AS BYTE
    b056 AS BYTE
    b057 AS BYTE
    b058 AS BYTE
    b059 AS BYTE
    b060 AS BYTE
    b061 AS BYTE
    b062 AS BYTE
    b063 AS BYTE
    b064 AS BYTE
    b065 AS BYTE
    b066 AS BYTE
    b067 AS BYTE
    b068 AS BYTE
    b069 AS BYTE
    b070 AS BYTE
    b071 AS BYTE
    b072 AS BYTE
    b073 AS BYTE
    b074 AS BYTE
    b075 AS BYTE
    b076 AS BYTE
    b077 AS BYTE
    b078 AS BYTE
    b079 AS BYTE
    b080 AS BYTE
    b081 AS BYTE
    b082 AS BYTE
    b083 AS BYTE
    b084 AS BYTE
    b085 AS BYTE
    b086 AS BYTE
    b087 AS BYTE
    b088 AS BYTE
    b089 AS BYTE
    b090 AS BYTE
    b091 AS BYTE
    b092 AS BYTE
    b093 AS BYTE
    b094 AS BYTE
    b095 AS BYTE
    b096 AS BYTE
    b097 AS BYTE
    b098 AS BYTE
    b099 AS BYTE
    b100 AS BYTE
    b101 AS BYTE
    b102 AS BYTE
    b103 AS BYTE
    b104 AS BYTE
    b105 AS BYTE
    b106 AS BYTE
    b107 AS BYTE
    b108 AS BYTE
    b109 AS BYTE
    b110 AS BYTE
    b111 AS BYTE
    b112 AS BYTE
    b113 AS BYTE
    b114 AS BYTE
    b115 AS BYTE
    b116 AS BYTE
    b117 AS BYTE
    b118 AS BYTE
    b119 AS BYTE
    b120 AS BYTE
    b121 AS BYTE
    b122 AS BYTE
    b123 AS BYTE
    b124 AS BYTE
    b125 AS BYTE
    b126 AS BYTE
    b127 AS BYTE
END TYPE

TYPE PBX_BYTE256
    b000 AS BYTE
    b001 AS BYTE
    b002 AS BYTE
    b003 AS BYTE
    b004 AS BYTE
    b005 AS BYTE
    b006 AS BYTE
    b007 AS BYTE
    b008 AS BYTE
    b009 AS BYTE
    b010 AS BYTE
    b011 AS BYTE
    b012 AS BYTE
    b013 AS BYTE
    b014 AS BYTE
    b015 AS BYTE
    b016 AS BYTE
    b017 AS BYTE
    b018 AS BYTE
    b019 AS BYTE
    b020 AS BYTE
    b021 AS BYTE
    b022 AS BYTE
    b023 AS BYTE
    b024 AS BYTE
    b025 AS BYTE
    b026 AS BYTE
    b027 AS BYTE
    b028 AS BYTE
    b029 AS BYTE
    b030 AS BYTE
    b031 AS BYTE
    b032 AS BYTE
    b033 AS BYTE
    b034 AS BYTE
    b035 AS BYTE
    b036 AS BYTE
    b037 AS BYTE
    b038 AS BYTE
    b039 AS BYTE
    b040 AS BYTE
    b041 AS BYTE
    b042 AS BYTE
    b043 AS BYTE
    b044 AS BYTE
    b045 AS BYTE
    b046 AS BYTE
    b047 AS BYTE
    b048 AS BYTE
    b049 AS BYTE
    b050 AS BYTE
    b051 AS BYTE
    b052 AS BYTE
    b053 AS BYTE
    b054 AS BYTE
    b055 AS BYTE
    b056 AS BYTE
    b057 AS BYTE
    b058 AS BYTE
    b059 AS BYTE
    b060 AS BYTE
    b061 AS BYTE
    b062 AS BYTE
    b063 AS BYTE
    b064 AS BYTE
    b065 AS BYTE
    b066 AS BYTE
    b067 AS BYTE
    b068 AS BYTE
    b069 AS BYTE
    b070 AS BYTE
    b071 AS BYTE
    b072 AS BYTE
    b073 AS BYTE
    b074 AS BYTE
    b075 AS BYTE
    b076 AS BYTE
    b077 AS BYTE
    b078 AS BYTE
    b079 AS BYTE
    b080 AS BYTE
    b081 AS BYTE
    b082 AS BYTE
    b083 AS BYTE
    b084 AS BYTE
    b085 AS BYTE
    b086 AS BYTE
    b087 AS BYTE
    b088 AS BYTE
    b089 AS BYTE
    b090 AS BYTE
    b091 AS BYTE
    b092 AS BYTE
    b093 AS BYTE
    b094 AS BYTE
    b095 AS BYTE
    b096 AS BYTE
    b097 AS BYTE
    b098 AS BYTE
    b099 AS BYTE
    b100 AS BYTE
    b101 AS BYTE
    b102 AS BYTE
    b103 AS BYTE
    b104 AS BYTE
    b105 AS BYTE
    b106 AS BYTE
    b107 AS BYTE
    b108 AS BYTE
    b109 AS BYTE
    b110 AS BYTE
    b111 AS BYTE
    b112 AS BYTE
    b113 AS BYTE
    b114 AS BYTE
    b115 AS BYTE
    b116 AS BYTE
    b117 AS BYTE
    b118 AS BYTE
    b119 AS BYTE
    b120 AS BYTE
    b121 AS BYTE
    b122 AS BYTE
    b123 AS BYTE
    b124 AS BYTE
    b125 AS BYTE
    b126 AS BYTE
    b127 AS BYTE
    b128 AS BYTE
    b129 AS BYTE
    b130 AS BYTE
    b131 AS BYTE
    b132 AS BYTE
    b133 AS BYTE
    b134 AS BYTE
    b135 AS BYTE
    b136 AS BYTE
    b137 AS BYTE
    b138 AS BYTE
    b139 AS BYTE
    b140 AS BYTE
    b141 AS BYTE
    b142 AS BYTE
    b143 AS BYTE
    b144 AS BYTE
    b145 AS BYTE
    b146 AS BYTE
    b147 AS BYTE
    b148 AS BYTE
    b149 AS BYTE
    b150 AS BYTE
    b151 AS BYTE
    b152 AS BYTE
    b153 AS BYTE
    b154 AS BYTE
    b155 AS BYTE
    b156 AS BYTE
    b157 AS BYTE
    b158 AS BYTE
    b159 AS BYTE
    b160 AS BYTE
    b161 AS BYTE
    b162 AS BYTE
    b163 AS BYTE
    b164 AS BYTE
    b165 AS BYTE
    b166 AS BYTE
    b167 AS BYTE
    b168 AS BYTE
    b169 AS BYTE
    b170 AS BYTE
    b171 AS BYTE
    b172 AS BYTE
    b173 AS BYTE
    b174 AS BYTE
    b175 AS BYTE
    b176 AS BYTE
    b177 AS BYTE
    b178 AS BYTE
    b179 AS BYTE
    b180 AS BYTE
    b181 AS BYTE
    b182 AS BYTE
    b183 AS BYTE
    b184 AS BYTE
    b185 AS BYTE
    b186 AS BYTE
    b187 AS BYTE
    b188 AS BYTE
    b189 AS BYTE
    b190 AS BYTE
    b191 AS BYTE
    b192 AS BYTE
    b193 AS BYTE
    b194 AS BYTE
    b195 AS BYTE
    b196 AS BYTE
    b197 AS BYTE
    b198 AS BYTE
    b199 AS BYTE
    b200 AS BYTE
    b201 AS BYTE
    b202 AS BYTE
    b203 AS BYTE
    b204 AS BYTE
    b205 AS BYTE
    b206 AS BYTE
    b207 AS BYTE
    b208 AS BYTE
    b209 AS BYTE
    b210 AS BYTE
    b211 AS BYTE
    b212 AS BYTE
    b213 AS BYTE
    b214 AS BYTE
    b215 AS BYTE
    b216 AS BYTE
    b217 AS BYTE
    b218 AS BYTE
    b219 AS BYTE
    b220 AS BYTE
    b221 AS BYTE
    b222 AS BYTE
    b223 AS BYTE
    b224 AS BYTE
    b225 AS BYTE
    b226 AS BYTE
    b227 AS BYTE
    b228 AS BYTE
    b229 AS BYTE
    b230 AS BYTE
    b231 AS BYTE
    b232 AS BYTE
    b233 AS BYTE
    b234 AS BYTE
    b235 AS BYTE
    b236 AS BYTE
    b237 AS BYTE
    b238 AS BYTE
    b239 AS BYTE
    b240 AS BYTE
    b241 AS BYTE
    b242 AS BYTE
    b243 AS BYTE
    b244 AS BYTE
    b245 AS BYTE
    b246 AS BYTE
    b247 AS BYTE
    b248 AS BYTE
    b249 AS BYTE
    b250 AS BYTE
    b251 AS BYTE
    b252 AS BYTE
    b253 AS BYTE
    b254 AS BYTE
    b255 AS BYTE
END TYPE

TYPE PBX_BYTE260
    b000 AS BYTE
    b001 AS BYTE
    b002 AS BYTE
    b003 AS BYTE
    b004 AS BYTE
    b005 AS BYTE
    b006 AS BYTE
    b007 AS BYTE
    b008 AS BYTE
    b009 AS BYTE
    b010 AS BYTE
    b011 AS BYTE
    b012 AS BYTE
    b013 AS BYTE
    b014 AS BYTE
    b015 AS BYTE
    b016 AS BYTE
    b017 AS BYTE
    b018 AS BYTE
    b019 AS BYTE
    b020 AS BYTE
    b021 AS BYTE
    b022 AS BYTE
    b023 AS BYTE
    b024 AS BYTE
    b025 AS BYTE
    b026 AS BYTE
    b027 AS BYTE
    b028 AS BYTE
    b029 AS BYTE
    b030 AS BYTE
    b031 AS BYTE
    b032 AS BYTE
    b033 AS BYTE
    b034 AS BYTE
    b035 AS BYTE
    b036 AS BYTE
    b037 AS BYTE
    b038 AS BYTE
    b039 AS BYTE
    b040 AS BYTE
    b041 AS BYTE
    b042 AS BYTE
    b043 AS BYTE
    b044 AS BYTE
    b045 AS BYTE
    b046 AS BYTE
    b047 AS BYTE
    b048 AS BYTE
    b049 AS BYTE
    b050 AS BYTE
    b051 AS BYTE
    b052 AS BYTE
    b053 AS BYTE
    b054 AS BYTE
    b055 AS BYTE
    b056 AS BYTE
    b057 AS BYTE
    b058 AS BYTE
    b059 AS BYTE
    b060 AS BYTE
    b061 AS BYTE
    b062 AS BYTE
    b063 AS BYTE
    b064 AS BYTE
    b065 AS BYTE
    b066 AS BYTE
    b067 AS BYTE
    b068 AS BYTE
    b069 AS BYTE
    b070 AS BYTE
    b071 AS BYTE
    b072 AS BYTE
    b073 AS BYTE
    b074 AS BYTE
    b075 AS BYTE
    b076 AS BYTE
    b077 AS BYTE
    b078 AS BYTE
    b079 AS BYTE
    b080 AS BYTE
    b081 AS BYTE
    b082 AS BYTE
    b083 AS BYTE
    b084 AS BYTE
    b085 AS BYTE
    b086 AS BYTE
    b087 AS BYTE
    b088 AS BYTE
    b089 AS BYTE
    b090 AS BYTE
    b091 AS BYTE
    b092 AS BYTE
    b093 AS BYTE
    b094 AS BYTE
    b095 AS BYTE
    b096 AS BYTE
    b097 AS BYTE
    b098 AS BYTE
    b099 AS BYTE
    b100 AS BYTE
    b101 AS BYTE
    b102 AS BYTE
    b103 AS BYTE
    b104 AS BYTE
    b105 AS BYTE
    b106 AS BYTE
    b107 AS BYTE
    b108 AS BYTE
    b109 AS BYTE
    b110 AS BYTE
    b111 AS BYTE
    b112 AS BYTE
    b113 AS BYTE
    b114 AS BYTE
    b115 AS BYTE
    b116 AS BYTE
    b117 AS BYTE
    b118 AS BYTE
    b119 AS BYTE
    b120 AS BYTE
    b121 AS BYTE
    b122 AS BYTE
    b123 AS BYTE
    b124 AS BYTE
    b125 AS BYTE
    b126 AS BYTE
    b127 AS BYTE
    b128 AS BYTE
    b129 AS BYTE
    b130 AS BYTE
    b131 AS BYTE
    b132 AS BYTE
    b133 AS BYTE
    b134 AS BYTE
    b135 AS BYTE
    b136 AS BYTE
    b137 AS BYTE
    b138 AS BYTE
    b139 AS BYTE
    b140 AS BYTE
    b141 AS BYTE
    b142 AS BYTE
    b143 AS BYTE
    b144 AS BYTE
    b145 AS BYTE
    b146 AS BYTE
    b147 AS BYTE
    b148 AS BYTE
    b149 AS BYTE
    b150 AS BYTE
    b151 AS BYTE
    b152 AS BYTE
    b153 AS BYTE
    b154 AS BYTE
    b155 AS BYTE
    b156 AS BYTE
    b157 AS BYTE
    b158 AS BYTE
    b159 AS BYTE
    b160 AS BYTE
    b161 AS BYTE
    b162 AS BYTE
    b163 AS BYTE
    b164 AS BYTE
    b165 AS BYTE
    b166 AS BYTE
    b167 AS BYTE
    b168 AS BYTE
    b169 AS BYTE
    b170 AS BYTE
    b171 AS BYTE
    b172 AS BYTE
    b173 AS BYTE
    b174 AS BYTE
    b175 AS BYTE
    b176 AS BYTE
    b177 AS BYTE
    b178 AS BYTE
    b179 AS BYTE
    b180 AS BYTE
    b181 AS BYTE
    b182 AS BYTE
    b183 AS BYTE
    b184 AS BYTE
    b185 AS BYTE
    b186 AS BYTE
    b187 AS BYTE
    b188 AS BYTE
    b189 AS BYTE
    b190 AS BYTE
    b191 AS BYTE
    b192 AS BYTE
    b193 AS BYTE
    b194 AS BYTE
    b195 AS BYTE
    b196 AS BYTE
    b197 AS BYTE
    b198 AS BYTE
    b199 AS BYTE
    b200 AS BYTE
    b201 AS BYTE
    b202 AS BYTE
    b203 AS BYTE
    b204 AS BYTE
    b205 AS BYTE
    b206 AS BYTE
    b207 AS BYTE
    b208 AS BYTE
    b209 AS BYTE
    b210 AS BYTE
    b211 AS BYTE
    b212 AS BYTE
    b213 AS BYTE
    b214 AS BYTE
    b215 AS BYTE
    b216 AS BYTE
    b217 AS BYTE
    b218 AS BYTE
    b219 AS BYTE
    b220 AS BYTE
    b221 AS BYTE
    b222 AS BYTE
    b223 AS BYTE
    b224 AS BYTE
    b225 AS BYTE
    b226 AS BYTE
    b227 AS BYTE
    b228 AS BYTE
    b229 AS BYTE
    b230 AS BYTE
    b231 AS BYTE
    b232 AS BYTE
    b233 AS BYTE
    b234 AS BYTE
    b235 AS BYTE
    b236 AS BYTE
    b237 AS BYTE
    b238 AS BYTE
    b239 AS BYTE
    b240 AS BYTE
    b241 AS BYTE
    b242 AS BYTE
    b243 AS BYTE
    b244 AS BYTE
    b245 AS BYTE
    b246 AS BYTE
    b247 AS BYTE
    b248 AS BYTE
    b249 AS BYTE
    b250 AS BYTE
    b251 AS BYTE
    b252 AS BYTE
    b253 AS BYTE
    b254 AS BYTE
    b255 AS BYTE
    b256 AS BYTE
    b257 AS BYTE
    b258 AS BYTE
    b259 AS BYTE
END TYPE

TYPE PBX_BYTE512
    b000 AS BYTE
    b001 AS BYTE
    b002 AS BYTE
    b003 AS BYTE
    b004 AS BYTE
    b005 AS BYTE
    b006 AS BYTE
    b007 AS BYTE
    b008 AS BYTE
    b009 AS BYTE
    b010 AS BYTE
    b011 AS BYTE
    b012 AS BYTE
    b013 AS BYTE
    b014 AS BYTE
    b015 AS BYTE
    b016 AS BYTE
    b017 AS BYTE
    b018 AS BYTE
    b019 AS BYTE
    b020 AS BYTE
    b021 AS BYTE
    b022 AS BYTE
    b023 AS BYTE
    b024 AS BYTE
    b025 AS BYTE
    b026 AS BYTE
    b027 AS BYTE
    b028 AS BYTE
    b029 AS BYTE
    b030 AS BYTE
    b031 AS BYTE
    b032 AS BYTE
    b033 AS BYTE
    b034 AS BYTE
    b035 AS BYTE
    b036 AS BYTE
    b037 AS BYTE
    b038 AS BYTE
    b039 AS BYTE
    b040 AS BYTE
    b041 AS BYTE
    b042 AS BYTE
    b043 AS BYTE
    b044 AS BYTE
    b045 AS BYTE
    b046 AS BYTE
    b047 AS BYTE
    b048 AS BYTE
    b049 AS BYTE
    b050 AS BYTE
    b051 AS BYTE
    b052 AS BYTE
    b053 AS BYTE
    b054 AS BYTE
    b055 AS BYTE
    b056 AS BYTE
    b057 AS BYTE
    b058 AS BYTE
    b059 AS BYTE
    b060 AS BYTE
    b061 AS BYTE
    b062 AS BYTE
    b063 AS BYTE
    b064 AS BYTE
    b065 AS BYTE
    b066 AS BYTE
    b067 AS BYTE
    b068 AS BYTE
    b069 AS BYTE
    b070 AS BYTE
    b071 AS BYTE
    b072 AS BYTE
    b073 AS BYTE
    b074 AS BYTE
    b075 AS BYTE
    b076 AS BYTE
    b077 AS BYTE
    b078 AS BYTE
    b079 AS BYTE
    b080 AS BYTE
    b081 AS BYTE
    b082 AS BYTE
    b083 AS BYTE
    b084 AS BYTE
    b085 AS BYTE
    b086 AS BYTE
    b087 AS BYTE
    b088 AS BYTE
    b089 AS BYTE
    b090 AS BYTE
    b091 AS BYTE
    b092 AS BYTE
    b093 AS BYTE
    b094 AS BYTE
    b095 AS BYTE
    b096 AS BYTE
    b097 AS BYTE
    b098 AS BYTE
    b099 AS BYTE
    b100 AS BYTE
    b101 AS BYTE
    b102 AS BYTE
    b103 AS BYTE
    b104 AS BYTE
    b105 AS BYTE
    b106 AS BYTE
    b107 AS BYTE
    b108 AS BYTE
    b109 AS BYTE
    b110 AS BYTE
    b111 AS BYTE
    b112 AS BYTE
    b113 AS BYTE
    b114 AS BYTE
    b115 AS BYTE
    b116 AS BYTE
    b117 AS BYTE
    b118 AS BYTE
    b119 AS BYTE
    b120 AS BYTE
    b121 AS BYTE
    b122 AS BYTE
    b123 AS BYTE
    b124 AS BYTE
    b125 AS BYTE
    b126 AS BYTE
    b127 AS BYTE
    b128 AS BYTE
    b129 AS BYTE
    b130 AS BYTE
    b131 AS BYTE
    b132 AS BYTE
    b133 AS BYTE
    b134 AS BYTE
    b135 AS BYTE
    b136 AS BYTE
    b137 AS BYTE
    b138 AS BYTE
    b139 AS BYTE
    b140 AS BYTE
    b141 AS BYTE
    b142 AS BYTE
    b143 AS BYTE
    b144 AS BYTE
    b145 AS BYTE
    b146 AS BYTE
    b147 AS BYTE
    b148 AS BYTE
    b149 AS BYTE
    b150 AS BYTE
    b151 AS BYTE
    b152 AS BYTE
    b153 AS BYTE
    b154 AS BYTE
    b155 AS BYTE
    b156 AS BYTE
    b157 AS BYTE
    b158 AS BYTE
    b159 AS BYTE
    b160 AS BYTE
    b161 AS BYTE
    b162 AS BYTE
    b163 AS BYTE
    b164 AS BYTE
    b165 AS BYTE
    b166 AS BYTE
    b167 AS BYTE
    b168 AS BYTE
    b169 AS BYTE
    b170 AS BYTE
    b171 AS BYTE
    b172 AS BYTE
    b173 AS BYTE
    b174 AS BYTE
    b175 AS BYTE
    b176 AS BYTE
    b177 AS BYTE
    b178 AS BYTE
    b179 AS BYTE
    b180 AS BYTE
    b181 AS BYTE
    b182 AS BYTE
    b183 AS BYTE
    b184 AS BYTE
    b185 AS BYTE
    b186 AS BYTE
    b187 AS BYTE
    b188 AS BYTE
    b189 AS BYTE
    b190 AS BYTE
    b191 AS BYTE
    b192 AS BYTE
    b193 AS BYTE
    b194 AS BYTE
    b195 AS BYTE
    b196 AS BYTE
    b197 AS BYTE
    b198 AS BYTE
    b199 AS BYTE
    b200 AS BYTE
    b201 AS BYTE
    b202 AS BYTE
    b203 AS BYTE
    b204 AS BYTE
    b205 AS BYTE
    b206 AS BYTE
    b207 AS BYTE
    b208 AS BYTE
    b209 AS BYTE
    b210 AS BYTE
    b211 AS BYTE
    b212 AS BYTE
    b213 AS BYTE
    b214 AS BYTE
    b215 AS BYTE
    b216 AS BYTE
    b217 AS BYTE
    b218 AS BYTE
    b219 AS BYTE
    b220 AS BYTE
    b221 AS BYTE
    b222 AS BYTE
    b223 AS BYTE
    b224 AS BYTE
    b225 AS BYTE
    b226 AS BYTE
    b227 AS BYTE
    b228 AS BYTE
    b229 AS BYTE
    b230 AS BYTE
    b231 AS BYTE
    b232 AS BYTE
    b233 AS BYTE
    b234 AS BYTE
    b235 AS BYTE
    b236 AS BYTE
    b237 AS BYTE
    b238 AS BYTE
    b239 AS BYTE
    b240 AS BYTE
    b241 AS BYTE
    b242 AS BYTE
    b243 AS BYTE
    b244 AS BYTE
    b245 AS BYTE
    b246 AS BYTE
    b247 AS BYTE
    b248 AS BYTE
    b249 AS BYTE
    b250 AS BYTE
    b251 AS BYTE
    b252 AS BYTE
    b253 AS BYTE
    b254 AS BYTE
    b255 AS BYTE
    b256 AS BYTE
    b257 AS BYTE
    b258 AS BYTE
    b259 AS BYTE
    b260 AS BYTE
    b261 AS BYTE
    b262 AS BYTE
    b263 AS BYTE
    b264 AS BYTE
    b265 AS BYTE
    b266 AS BYTE
    b267 AS BYTE
    b268 AS BYTE
    b269 AS BYTE
    b270 AS BYTE
    b271 AS BYTE
    b272 AS BYTE
    b273 AS BYTE
    b274 AS BYTE
    b275 AS BYTE
    b276 AS BYTE
    b277 AS BYTE
    b278 AS BYTE
    b279 AS BYTE
    b280 AS BYTE
    b281 AS BYTE
    b282 AS BYTE
    b283 AS BYTE
    b284 AS BYTE
    b285 AS BYTE
    b286 AS BYTE
    b287 AS BYTE
    b288 AS BYTE
    b289 AS BYTE
    b290 AS BYTE
    b291 AS BYTE
    b292 AS BYTE
    b293 AS BYTE
    b294 AS BYTE
    b295 AS BYTE
    b296 AS BYTE
    b297 AS BYTE
    b298 AS BYTE
    b299 AS BYTE
    b300 AS BYTE
    b301 AS BYTE
    b302 AS BYTE
    b303 AS BYTE
    b304 AS BYTE
    b305 AS BYTE
    b306 AS BYTE
    b307 AS BYTE
    b308 AS BYTE
    b309 AS BYTE
    b310 AS BYTE
    b311 AS BYTE
    b312 AS BYTE
    b313 AS BYTE
    b314 AS BYTE
    b315 AS BYTE
    b316 AS BYTE
    b317 AS BYTE
    b318 AS BYTE
    b319 AS BYTE
    b320 AS BYTE
    b321 AS BYTE
    b322 AS BYTE
    b323 AS BYTE
    b324 AS BYTE
    b325 AS BYTE
    b326 AS BYTE
    b327 AS BYTE
    b328 AS BYTE
    b329 AS BYTE
    b330 AS BYTE
    b331 AS BYTE
    b332 AS BYTE
    b333 AS BYTE
    b334 AS BYTE
    b335 AS BYTE
    b336 AS BYTE
    b337 AS BYTE
    b338 AS BYTE
    b339 AS BYTE
    b340 AS BYTE
    b341 AS BYTE
    b342 AS BYTE
    b343 AS BYTE
    b344 AS BYTE
    b345 AS BYTE
    b346 AS BYTE
    b347 AS BYTE
    b348 AS BYTE
    b349 AS BYTE
    b350 AS BYTE
    b351 AS BYTE
    b352 AS BYTE
    b353 AS BYTE
    b354 AS BYTE
    b355 AS BYTE
    b356 AS BYTE
    b357 AS BYTE
    b358 AS BYTE
    b359 AS BYTE
    b360 AS BYTE
    b361 AS BYTE
    b362 AS BYTE
    b363 AS BYTE
    b364 AS BYTE
    b365 AS BYTE
    b366 AS BYTE
    b367 AS BYTE
    b368 AS BYTE
    b369 AS BYTE
    b370 AS BYTE
    b371 AS BYTE
    b372 AS BYTE
    b373 AS BYTE
    b374 AS BYTE
    b375 AS BYTE
    b376 AS BYTE
    b377 AS BYTE
    b378 AS BYTE
    b379 AS BYTE
    b380 AS BYTE
    b381 AS BYTE
    b382 AS BYTE
    b383 AS BYTE
    b384 AS BYTE
    b385 AS BYTE
    b386 AS BYTE
    b387 AS BYTE
    b388 AS BYTE
    b389 AS BYTE
    b390 AS BYTE
    b391 AS BYTE
    b392 AS BYTE
    b393 AS BYTE
    b394 AS BYTE
    b395 AS BYTE
    b396 AS BYTE
    b397 AS BYTE
    b398 AS BYTE
    b399 AS BYTE
    b400 AS BYTE
    b401 AS BYTE
    b402 AS BYTE
    b403 AS BYTE
    b404 AS BYTE
    b405 AS BYTE
    b406 AS BYTE
    b407 AS BYTE
    b408 AS BYTE
    b409 AS BYTE
    b410 AS BYTE
    b411 AS BYTE
    b412 AS BYTE
    b413 AS BYTE
    b414 AS BYTE
    b415 AS BYTE
    b416 AS BYTE
    b417 AS BYTE
    b418 AS BYTE
    b419 AS BYTE
    b420 AS BYTE
    b421 AS BYTE
    b422 AS BYTE
    b423 AS BYTE
    b424 AS BYTE
    b425 AS BYTE
    b426 AS BYTE
    b427 AS BYTE
    b428 AS BYTE
    b429 AS BYTE
    b430 AS BYTE
    b431 AS BYTE
    b432 AS BYTE
    b433 AS BYTE
    b434 AS BYTE
    b435 AS BYTE
    b436 AS BYTE
    b437 AS BYTE
    b438 AS BYTE
    b439 AS BYTE
    b440 AS BYTE
    b441 AS BYTE
    b442 AS BYTE
    b443 AS BYTE
    b444 AS BYTE
    b445 AS BYTE
    b446 AS BYTE
    b447 AS BYTE
    b448 AS BYTE
    b449 AS BYTE
    b450 AS BYTE
    b451 AS BYTE
    b452 AS BYTE
    b453 AS BYTE
    b454 AS BYTE
    b455 AS BYTE
    b456 AS BYTE
    b457 AS BYTE
    b458 AS BYTE
    b459 AS BYTE
    b460 AS BYTE
    b461 AS BYTE
    b462 AS BYTE
    b463 AS BYTE
    b464 AS BYTE
    b465 AS BYTE
    b466 AS BYTE
    b467 AS BYTE
    b468 AS BYTE
    b469 AS BYTE
    b470 AS BYTE
    b471 AS BYTE
    b472 AS BYTE
    b473 AS BYTE
    b474 AS BYTE
    b475 AS BYTE
    b476 AS BYTE
    b477 AS BYTE
    b478 AS BYTE
    b479 AS BYTE
    b480 AS BYTE
    b481 AS BYTE
    b482 AS BYTE
    b483 AS BYTE
    b484 AS BYTE
    b485 AS BYTE
    b486 AS BYTE
    b487 AS BYTE
    b488 AS BYTE
    b489 AS BYTE
    b490 AS BYTE
    b491 AS BYTE
    b492 AS BYTE
    b493 AS BYTE
    b494 AS BYTE
    b495 AS BYTE
    b496 AS BYTE
    b497 AS BYTE
    b498 AS BYTE
    b499 AS BYTE
    b500 AS BYTE
    b501 AS BYTE
    b502 AS BYTE
    b503 AS BYTE
    b504 AS BYTE
    b505 AS BYTE
    b506 AS BYTE
    b507 AS BYTE
    b508 AS BYTE
    b509 AS BYTE
    b510 AS BYTE
    b511 AS BYTE
END TYPE

TYPE PBX_CHAR14
    ch000 AS BYTE
    ch001 AS BYTE
    ch002 AS BYTE
    ch003 AS BYTE
    ch004 AS BYTE
    ch005 AS BYTE
    ch006 AS BYTE
    ch007 AS BYTE
    ch008 AS BYTE
    ch009 AS BYTE
    ch010 AS BYTE
    ch011 AS BYTE
    ch012 AS BYTE
    ch013 AS BYTE
END TYPE

TYPE PBX_CHAR32
    ch000 AS BYTE
    ch001 AS BYTE
    ch002 AS BYTE
    ch003 AS BYTE
    ch004 AS BYTE
    ch005 AS BYTE
    ch006 AS BYTE
    ch007 AS BYTE
    ch008 AS BYTE
    ch009 AS BYTE
    ch010 AS BYTE
    ch011 AS BYTE
    ch012 AS BYTE
    ch013 AS BYTE
    ch014 AS BYTE
    ch015 AS BYTE
    ch016 AS BYTE
    ch017 AS BYTE
    ch018 AS BYTE
    ch019 AS BYTE
    ch020 AS BYTE
    ch021 AS BYTE
    ch022 AS BYTE
    ch023 AS BYTE
    ch024 AS BYTE
    ch025 AS BYTE
    ch026 AS BYTE
    ch027 AS BYTE
    ch028 AS BYTE
    ch029 AS BYTE
    ch030 AS BYTE
    ch031 AS BYTE
END TYPE

TYPE PBX_CHAR128
    ch000 AS BYTE
    ch001 AS BYTE
    ch002 AS BYTE
    ch003 AS BYTE
    ch004 AS BYTE
    ch005 AS BYTE
    ch006 AS BYTE
    ch007 AS BYTE
    ch008 AS BYTE
    ch009 AS BYTE
    ch010 AS BYTE
    ch011 AS BYTE
    ch012 AS BYTE
    ch013 AS BYTE
    ch014 AS BYTE
    ch015 AS BYTE
    ch016 AS BYTE
    ch017 AS BYTE
    ch018 AS BYTE
    ch019 AS BYTE
    ch020 AS BYTE
    ch021 AS BYTE
    ch022 AS BYTE
    ch023 AS BYTE
    ch024 AS BYTE
    ch025 AS BYTE
    ch026 AS BYTE
    ch027 AS BYTE
    ch028 AS BYTE
    ch029 AS BYTE
    ch030 AS BYTE
    ch031 AS BYTE
    ch032 AS BYTE
    ch033 AS BYTE
    ch034 AS BYTE
    ch035 AS BYTE
    ch036 AS BYTE
    ch037 AS BYTE
    ch038 AS BYTE
    ch039 AS BYTE
    ch040 AS BYTE
    ch041 AS BYTE
    ch042 AS BYTE
    ch043 AS BYTE
    ch044 AS BYTE
    ch045 AS BYTE
    ch046 AS BYTE
    ch047 AS BYTE
    ch048 AS BYTE
    ch049 AS BYTE
    ch050 AS BYTE
    ch051 AS BYTE
    ch052 AS BYTE
    ch053 AS BYTE
    ch054 AS BYTE
    ch055 AS BYTE
    ch056 AS BYTE
    ch057 AS BYTE
    ch058 AS BYTE
    ch059 AS BYTE
    ch060 AS BYTE
    ch061 AS BYTE
    ch062 AS BYTE
    ch063 AS BYTE
    ch064 AS BYTE
    ch065 AS BYTE
    ch066 AS BYTE
    ch067 AS BYTE
    ch068 AS BYTE
    ch069 AS BYTE
    ch070 AS BYTE
    ch071 AS BYTE
    ch072 AS BYTE
    ch073 AS BYTE
    ch074 AS BYTE
    ch075 AS BYTE
    ch076 AS BYTE
    ch077 AS BYTE
    ch078 AS BYTE
    ch079 AS BYTE
    ch080 AS BYTE
    ch081 AS BYTE
    ch082 AS BYTE
    ch083 AS BYTE
    ch084 AS BYTE
    ch085 AS BYTE
    ch086 AS BYTE
    ch087 AS BYTE
    ch088 AS BYTE
    ch089 AS BYTE
    ch090 AS BYTE
    ch091 AS BYTE
    ch092 AS BYTE
    ch093 AS BYTE
    ch094 AS BYTE
    ch095 AS BYTE
    ch096 AS BYTE
    ch097 AS BYTE
    ch098 AS BYTE
    ch099 AS BYTE
    ch100 AS BYTE
    ch101 AS BYTE
    ch102 AS BYTE
    ch103 AS BYTE
    ch104 AS BYTE
    ch105 AS BYTE
    ch106 AS BYTE
    ch107 AS BYTE
    ch108 AS BYTE
    ch109 AS BYTE
    ch110 AS BYTE
    ch111 AS BYTE
    ch112 AS BYTE
    ch113 AS BYTE
    ch114 AS BYTE
    ch115 AS BYTE
    ch116 AS BYTE
    ch117 AS BYTE
    ch118 AS BYTE
    ch119 AS BYTE
    ch120 AS BYTE
    ch121 AS BYTE
    ch122 AS BYTE
    ch123 AS BYTE
    ch124 AS BYTE
    ch125 AS BYTE
    ch126 AS BYTE
    ch127 AS BYTE
END TYPE

TYPE PBX_CHAR129
    ch000 AS BYTE
    ch001 AS BYTE
    ch002 AS BYTE
    ch003 AS BYTE
    ch004 AS BYTE
    ch005 AS BYTE
    ch006 AS BYTE
    ch007 AS BYTE
    ch008 AS BYTE
    ch009 AS BYTE
    ch010 AS BYTE
    ch011 AS BYTE
    ch012 AS BYTE
    ch013 AS BYTE
    ch014 AS BYTE
    ch015 AS BYTE
    ch016 AS BYTE
    ch017 AS BYTE
    ch018 AS BYTE
    ch019 AS BYTE
    ch020 AS BYTE
    ch021 AS BYTE
    ch022 AS BYTE
    ch023 AS BYTE
    ch024 AS BYTE
    ch025 AS BYTE
    ch026 AS BYTE
    ch027 AS BYTE
    ch028 AS BYTE
    ch029 AS BYTE
    ch030 AS BYTE
    ch031 AS BYTE
    ch032 AS BYTE
    ch033 AS BYTE
    ch034 AS BYTE
    ch035 AS BYTE
    ch036 AS BYTE
    ch037 AS BYTE
    ch038 AS BYTE
    ch039 AS BYTE
    ch040 AS BYTE
    ch041 AS BYTE
    ch042 AS BYTE
    ch043 AS BYTE
    ch044 AS BYTE
    ch045 AS BYTE
    ch046 AS BYTE
    ch047 AS BYTE
    ch048 AS BYTE
    ch049 AS BYTE
    ch050 AS BYTE
    ch051 AS BYTE
    ch052 AS BYTE
    ch053 AS BYTE
    ch054 AS BYTE
    ch055 AS BYTE
    ch056 AS BYTE
    ch057 AS BYTE
    ch058 AS BYTE
    ch059 AS BYTE
    ch060 AS BYTE
    ch061 AS BYTE
    ch062 AS BYTE
    ch063 AS BYTE
    ch064 AS BYTE
    ch065 AS BYTE
    ch066 AS BYTE
    ch067 AS BYTE
    ch068 AS BYTE
    ch069 AS BYTE
    ch070 AS BYTE
    ch071 AS BYTE
    ch072 AS BYTE
    ch073 AS BYTE
    ch074 AS BYTE
    ch075 AS BYTE
    ch076 AS BYTE
    ch077 AS BYTE
    ch078 AS BYTE
    ch079 AS BYTE
    ch080 AS BYTE
    ch081 AS BYTE
    ch082 AS BYTE
    ch083 AS BYTE
    ch084 AS BYTE
    ch085 AS BYTE
    ch086 AS BYTE
    ch087 AS BYTE
    ch088 AS BYTE
    ch089 AS BYTE
    ch090 AS BYTE
    ch091 AS BYTE
    ch092 AS BYTE
    ch093 AS BYTE
    ch094 AS BYTE
    ch095 AS BYTE
    ch096 AS BYTE
    ch097 AS BYTE
    ch098 AS BYTE
    ch099 AS BYTE
    ch100 AS BYTE
    ch101 AS BYTE
    ch102 AS BYTE
    ch103 AS BYTE
    ch104 AS BYTE
    ch105 AS BYTE
    ch106 AS BYTE
    ch107 AS BYTE
    ch108 AS BYTE
    ch109 AS BYTE
    ch110 AS BYTE
    ch111 AS BYTE
    ch112 AS BYTE
    ch113 AS BYTE
    ch114 AS BYTE
    ch115 AS BYTE
    ch116 AS BYTE
    ch117 AS BYTE
    ch118 AS BYTE
    ch119 AS BYTE
    ch120 AS BYTE
    ch121 AS BYTE
    ch122 AS BYTE
    ch123 AS BYTE
    ch124 AS BYTE
    ch125 AS BYTE
    ch126 AS BYTE
    ch127 AS BYTE
    ch128 AS BYTE
END TYPE

TYPE PBX_CHAR257
    ch000 AS BYTE
    ch001 AS BYTE
    ch002 AS BYTE
    ch003 AS BYTE
    ch004 AS BYTE
    ch005 AS BYTE
    ch006 AS BYTE
    ch007 AS BYTE
    ch008 AS BYTE
    ch009 AS BYTE
    ch010 AS BYTE
    ch011 AS BYTE
    ch012 AS BYTE
    ch013 AS BYTE
    ch014 AS BYTE
    ch015 AS BYTE
    ch016 AS BYTE
    ch017 AS BYTE
    ch018 AS BYTE
    ch019 AS BYTE
    ch020 AS BYTE
    ch021 AS BYTE
    ch022 AS BYTE
    ch023 AS BYTE
    ch024 AS BYTE
    ch025 AS BYTE
    ch026 AS BYTE
    ch027 AS BYTE
    ch028 AS BYTE
    ch029 AS BYTE
    ch030 AS BYTE
    ch031 AS BYTE
    ch032 AS BYTE
    ch033 AS BYTE
    ch034 AS BYTE
    ch035 AS BYTE
    ch036 AS BYTE
    ch037 AS BYTE
    ch038 AS BYTE
    ch039 AS BYTE
    ch040 AS BYTE
    ch041 AS BYTE
    ch042 AS BYTE
    ch043 AS BYTE
    ch044 AS BYTE
    ch045 AS BYTE
    ch046 AS BYTE
    ch047 AS BYTE
    ch048 AS BYTE
    ch049 AS BYTE
    ch050 AS BYTE
    ch051 AS BYTE
    ch052 AS BYTE
    ch053 AS BYTE
    ch054 AS BYTE
    ch055 AS BYTE
    ch056 AS BYTE
    ch057 AS BYTE
    ch058 AS BYTE
    ch059 AS BYTE
    ch060 AS BYTE
    ch061 AS BYTE
    ch062 AS BYTE
    ch063 AS BYTE
    ch064 AS BYTE
    ch065 AS BYTE
    ch066 AS BYTE
    ch067 AS BYTE
    ch068 AS BYTE
    ch069 AS BYTE
    ch070 AS BYTE
    ch071 AS BYTE
    ch072 AS BYTE
    ch073 AS BYTE
    ch074 AS BYTE
    ch075 AS BYTE
    ch076 AS BYTE
    ch077 AS BYTE
    ch078 AS BYTE
    ch079 AS BYTE
    ch080 AS BYTE
    ch081 AS BYTE
    ch082 AS BYTE
    ch083 AS BYTE
    ch084 AS BYTE
    ch085 AS BYTE
    ch086 AS BYTE
    ch087 AS BYTE
    ch088 AS BYTE
    ch089 AS BYTE
    ch090 AS BYTE
    ch091 AS BYTE
    ch092 AS BYTE
    ch093 AS BYTE
    ch094 AS BYTE
    ch095 AS BYTE
    ch096 AS BYTE
    ch097 AS BYTE
    ch098 AS BYTE
    ch099 AS BYTE
    ch100 AS BYTE
    ch101 AS BYTE
    ch102 AS BYTE
    ch103 AS BYTE
    ch104 AS BYTE
    ch105 AS BYTE
    ch106 AS BYTE
    ch107 AS BYTE
    ch108 AS BYTE
    ch109 AS BYTE
    ch110 AS BYTE
    ch111 AS BYTE
    ch112 AS BYTE
    ch113 AS BYTE
    ch114 AS BYTE
    ch115 AS BYTE
    ch116 AS BYTE
    ch117 AS BYTE
    ch118 AS BYTE
    ch119 AS BYTE
    ch120 AS BYTE
    ch121 AS BYTE
    ch122 AS BYTE
    ch123 AS BYTE
    ch124 AS BYTE
    ch125 AS BYTE
    ch126 AS BYTE
    ch127 AS BYTE
    ch128 AS BYTE
    ch129 AS BYTE
    ch130 AS BYTE
    ch131 AS BYTE
    ch132 AS BYTE
    ch133 AS BYTE
    ch134 AS BYTE
    ch135 AS BYTE
    ch136 AS BYTE
    ch137 AS BYTE
    ch138 AS BYTE
    ch139 AS BYTE
    ch140 AS BYTE
    ch141 AS BYTE
    ch142 AS BYTE
    ch143 AS BYTE
    ch144 AS BYTE
    ch145 AS BYTE
    ch146 AS BYTE
    ch147 AS BYTE
    ch148 AS BYTE
    ch149 AS BYTE
    ch150 AS BYTE
    ch151 AS BYTE
    ch152 AS BYTE
    ch153 AS BYTE
    ch154 AS BYTE
    ch155 AS BYTE
    ch156 AS BYTE
    ch157 AS BYTE
    ch158 AS BYTE
    ch159 AS BYTE
    ch160 AS BYTE
    ch161 AS BYTE
    ch162 AS BYTE
    ch163 AS BYTE
    ch164 AS BYTE
    ch165 AS BYTE
    ch166 AS BYTE
    ch167 AS BYTE
    ch168 AS BYTE
    ch169 AS BYTE
    ch170 AS BYTE
    ch171 AS BYTE
    ch172 AS BYTE
    ch173 AS BYTE
    ch174 AS BYTE
    ch175 AS BYTE
    ch176 AS BYTE
    ch177 AS BYTE
    ch178 AS BYTE
    ch179 AS BYTE
    ch180 AS BYTE
    ch181 AS BYTE
    ch182 AS BYTE
    ch183 AS BYTE
    ch184 AS BYTE
    ch185 AS BYTE
    ch186 AS BYTE
    ch187 AS BYTE
    ch188 AS BYTE
    ch189 AS BYTE
    ch190 AS BYTE
    ch191 AS BYTE
    ch192 AS BYTE
    ch193 AS BYTE
    ch194 AS BYTE
    ch195 AS BYTE
    ch196 AS BYTE
    ch197 AS BYTE
    ch198 AS BYTE
    ch199 AS BYTE
    ch200 AS BYTE
    ch201 AS BYTE
    ch202 AS BYTE
    ch203 AS BYTE
    ch204 AS BYTE
    ch205 AS BYTE
    ch206 AS BYTE
    ch207 AS BYTE
    ch208 AS BYTE
    ch209 AS BYTE
    ch210 AS BYTE
    ch211 AS BYTE
    ch212 AS BYTE
    ch213 AS BYTE
    ch214 AS BYTE
    ch215 AS BYTE
    ch216 AS BYTE
    ch217 AS BYTE
    ch218 AS BYTE
    ch219 AS BYTE
    ch220 AS BYTE
    ch221 AS BYTE
    ch222 AS BYTE
    ch223 AS BYTE
    ch224 AS BYTE
    ch225 AS BYTE
    ch226 AS BYTE
    ch227 AS BYTE
    ch228 AS BYTE
    ch229 AS BYTE
    ch230 AS BYTE
    ch231 AS BYTE
    ch232 AS BYTE
    ch233 AS BYTE
    ch234 AS BYTE
    ch235 AS BYTE
    ch236 AS BYTE
    ch237 AS BYTE
    ch238 AS BYTE
    ch239 AS BYTE
    ch240 AS BYTE
    ch241 AS BYTE
    ch242 AS BYTE
    ch243 AS BYTE
    ch244 AS BYTE
    ch245 AS BYTE
    ch246 AS BYTE
    ch247 AS BYTE
    ch248 AS BYTE
    ch249 AS BYTE
    ch250 AS BYTE
    ch251 AS BYTE
    ch252 AS BYTE
    ch253 AS BYTE
    ch254 AS BYTE
    ch255 AS BYTE
    ch256 AS BYTE
END TYPE

TYPE PBX_CHAR260
    ch000 AS BYTE
    ch001 AS BYTE
    ch002 AS BYTE
    ch003 AS BYTE
    ch004 AS BYTE
    ch005 AS BYTE
    ch006 AS BYTE
    ch007 AS BYTE
    ch008 AS BYTE
    ch009 AS BYTE
    ch010 AS BYTE
    ch011 AS BYTE
    ch012 AS BYTE
    ch013 AS BYTE
    ch014 AS BYTE
    ch015 AS BYTE
    ch016 AS BYTE
    ch017 AS BYTE
    ch018 AS BYTE
    ch019 AS BYTE
    ch020 AS BYTE
    ch021 AS BYTE
    ch022 AS BYTE
    ch023 AS BYTE
    ch024 AS BYTE
    ch025 AS BYTE
    ch026 AS BYTE
    ch027 AS BYTE
    ch028 AS BYTE
    ch029 AS BYTE
    ch030 AS BYTE
    ch031 AS BYTE
    ch032 AS BYTE
    ch033 AS BYTE
    ch034 AS BYTE
    ch035 AS BYTE
    ch036 AS BYTE
    ch037 AS BYTE
    ch038 AS BYTE
    ch039 AS BYTE
    ch040 AS BYTE
    ch041 AS BYTE
    ch042 AS BYTE
    ch043 AS BYTE
    ch044 AS BYTE
    ch045 AS BYTE
    ch046 AS BYTE
    ch047 AS BYTE
    ch048 AS BYTE
    ch049 AS BYTE
    ch050 AS BYTE
    ch051 AS BYTE
    ch052 AS BYTE
    ch053 AS BYTE
    ch054 AS BYTE
    ch055 AS BYTE
    ch056 AS BYTE
    ch057 AS BYTE
    ch058 AS BYTE
    ch059 AS BYTE
    ch060 AS BYTE
    ch061 AS BYTE
    ch062 AS BYTE
    ch063 AS BYTE
    ch064 AS BYTE
    ch065 AS BYTE
    ch066 AS BYTE
    ch067 AS BYTE
    ch068 AS BYTE
    ch069 AS BYTE
    ch070 AS BYTE
    ch071 AS BYTE
    ch072 AS BYTE
    ch073 AS BYTE
    ch074 AS BYTE
    ch075 AS BYTE
    ch076 AS BYTE
    ch077 AS BYTE
    ch078 AS BYTE
    ch079 AS BYTE
    ch080 AS BYTE
    ch081 AS BYTE
    ch082 AS BYTE
    ch083 AS BYTE
    ch084 AS BYTE
    ch085 AS BYTE
    ch086 AS BYTE
    ch087 AS BYTE
    ch088 AS BYTE
    ch089 AS BYTE
    ch090 AS BYTE
    ch091 AS BYTE
    ch092 AS BYTE
    ch093 AS BYTE
    ch094 AS BYTE
    ch095 AS BYTE
    ch096 AS BYTE
    ch097 AS BYTE
    ch098 AS BYTE
    ch099 AS BYTE
    ch100 AS BYTE
    ch101 AS BYTE
    ch102 AS BYTE
    ch103 AS BYTE
    ch104 AS BYTE
    ch105 AS BYTE
    ch106 AS BYTE
    ch107 AS BYTE
    ch108 AS BYTE
    ch109 AS BYTE
    ch110 AS BYTE
    ch111 AS BYTE
    ch112 AS BYTE
    ch113 AS BYTE
    ch114 AS BYTE
    ch115 AS BYTE
    ch116 AS BYTE
    ch117 AS BYTE
    ch118 AS BYTE
    ch119 AS BYTE
    ch120 AS BYTE
    ch121 AS BYTE
    ch122 AS BYTE
    ch123 AS BYTE
    ch124 AS BYTE
    ch125 AS BYTE
    ch126 AS BYTE
    ch127 AS BYTE
    ch128 AS BYTE
    ch129 AS BYTE
    ch130 AS BYTE
    ch131 AS BYTE
    ch132 AS BYTE
    ch133 AS BYTE
    ch134 AS BYTE
    ch135 AS BYTE
    ch136 AS BYTE
    ch137 AS BYTE
    ch138 AS BYTE
    ch139 AS BYTE
    ch140 AS BYTE
    ch141 AS BYTE
    ch142 AS BYTE
    ch143 AS BYTE
    ch144 AS BYTE
    ch145 AS BYTE
    ch146 AS BYTE
    ch147 AS BYTE
    ch148 AS BYTE
    ch149 AS BYTE
    ch150 AS BYTE
    ch151 AS BYTE
    ch152 AS BYTE
    ch153 AS BYTE
    ch154 AS BYTE
    ch155 AS BYTE
    ch156 AS BYTE
    ch157 AS BYTE
    ch158 AS BYTE
    ch159 AS BYTE
    ch160 AS BYTE
    ch161 AS BYTE
    ch162 AS BYTE
    ch163 AS BYTE
    ch164 AS BYTE
    ch165 AS BYTE
    ch166 AS BYTE
    ch167 AS BYTE
    ch168 AS BYTE
    ch169 AS BYTE
    ch170 AS BYTE
    ch171 AS BYTE
    ch172 AS BYTE
    ch173 AS BYTE
    ch174 AS BYTE
    ch175 AS BYTE
    ch176 AS BYTE
    ch177 AS BYTE
    ch178 AS BYTE
    ch179 AS BYTE
    ch180 AS BYTE
    ch181 AS BYTE
    ch182 AS BYTE
    ch183 AS BYTE
    ch184 AS BYTE
    ch185 AS BYTE
    ch186 AS BYTE
    ch187 AS BYTE
    ch188 AS BYTE
    ch189 AS BYTE
    ch190 AS BYTE
    ch191 AS BYTE
    ch192 AS BYTE
    ch193 AS BYTE
    ch194 AS BYTE
    ch195 AS BYTE
    ch196 AS BYTE
    ch197 AS BYTE
    ch198 AS BYTE
    ch199 AS BYTE
    ch200 AS BYTE
    ch201 AS BYTE
    ch202 AS BYTE
    ch203 AS BYTE
    ch204 AS BYTE
    ch205 AS BYTE
    ch206 AS BYTE
    ch207 AS BYTE
    ch208 AS BYTE
    ch209 AS BYTE
    ch210 AS BYTE
    ch211 AS BYTE
    ch212 AS BYTE
    ch213 AS BYTE
    ch214 AS BYTE
    ch215 AS BYTE
    ch216 AS BYTE
    ch217 AS BYTE
    ch218 AS BYTE
    ch219 AS BYTE
    ch220 AS BYTE
    ch221 AS BYTE
    ch222 AS BYTE
    ch223 AS BYTE
    ch224 AS BYTE
    ch225 AS BYTE
    ch226 AS BYTE
    ch227 AS BYTE
    ch228 AS BYTE
    ch229 AS BYTE
    ch230 AS BYTE
    ch231 AS BYTE
    ch232 AS BYTE
    ch233 AS BYTE
    ch234 AS BYTE
    ch235 AS BYTE
    ch236 AS BYTE
    ch237 AS BYTE
    ch238 AS BYTE
    ch239 AS BYTE
    ch240 AS BYTE
    ch241 AS BYTE
    ch242 AS BYTE
    ch243 AS BYTE
    ch244 AS BYTE
    ch245 AS BYTE
    ch246 AS BYTE
    ch247 AS BYTE
    ch248 AS BYTE
    ch249 AS BYTE
    ch250 AS BYTE
    ch251 AS BYTE
    ch252 AS BYTE
    ch253 AS BYTE
    ch254 AS BYTE
    ch255 AS BYTE
    ch256 AS BYTE
    ch257 AS BYTE
    ch258 AS BYTE
    ch259 AS BYTE
END TYPE

TYPE PBX_WCHAR14
    wch000 AS WORD
    wch001 AS WORD
    wch002 AS WORD
    wch003 AS WORD
    wch004 AS WORD
    wch005 AS WORD
    wch006 AS WORD
    wch007 AS WORD
    wch008 AS WORD
    wch009 AS WORD
    wch010 AS WORD
    wch011 AS WORD
    wch012 AS WORD
    wch013 AS WORD
END TYPE

TYPE PBX_WCHAR32
    wch000 AS WORD
    wch001 AS WORD
    wch002 AS WORD
    wch003 AS WORD
    wch004 AS WORD
    wch005 AS WORD
    wch006 AS WORD
    wch007 AS WORD
    wch008 AS WORD
    wch009 AS WORD
    wch010 AS WORD
    wch011 AS WORD
    wch012 AS WORD
    wch013 AS WORD
    wch014 AS WORD
    wch015 AS WORD
    wch016 AS WORD
    wch017 AS WORD
    wch018 AS WORD
    wch019 AS WORD
    wch020 AS WORD
    wch021 AS WORD
    wch022 AS WORD
    wch023 AS WORD
    wch024 AS WORD
    wch025 AS WORD
    wch026 AS WORD
    wch027 AS WORD
    wch028 AS WORD
    wch029 AS WORD
    wch030 AS WORD
    wch031 AS WORD
END TYPE

TYPE PBX_WCHAR128
    wch000 AS WORD
    wch001 AS WORD
    wch002 AS WORD
    wch003 AS WORD
    wch004 AS WORD
    wch005 AS WORD
    wch006 AS WORD
    wch007 AS WORD
    wch008 AS WORD
    wch009 AS WORD
    wch010 AS WORD
    wch011 AS WORD
    wch012 AS WORD
    wch013 AS WORD
    wch014 AS WORD
    wch015 AS WORD
    wch016 AS WORD
    wch017 AS WORD
    wch018 AS WORD
    wch019 AS WORD
    wch020 AS WORD
    wch021 AS WORD
    wch022 AS WORD
    wch023 AS WORD
    wch024 AS WORD
    wch025 AS WORD
    wch026 AS WORD
    wch027 AS WORD
    wch028 AS WORD
    wch029 AS WORD
    wch030 AS WORD
    wch031 AS WORD
    wch032 AS WORD
    wch033 AS WORD
    wch034 AS WORD
    wch035 AS WORD
    wch036 AS WORD
    wch037 AS WORD
    wch038 AS WORD
    wch039 AS WORD
    wch040 AS WORD
    wch041 AS WORD
    wch042 AS WORD
    wch043 AS WORD
    wch044 AS WORD
    wch045 AS WORD
    wch046 AS WORD
    wch047 AS WORD
    wch048 AS WORD
    wch049 AS WORD
    wch050 AS WORD
    wch051 AS WORD
    wch052 AS WORD
    wch053 AS WORD
    wch054 AS WORD
    wch055 AS WORD
    wch056 AS WORD
    wch057 AS WORD
    wch058 AS WORD
    wch059 AS WORD
    wch060 AS WORD
    wch061 AS WORD
    wch062 AS WORD
    wch063 AS WORD
    wch064 AS WORD
    wch065 AS WORD
    wch066 AS WORD
    wch067 AS WORD
    wch068 AS WORD
    wch069 AS WORD
    wch070 AS WORD
    wch071 AS WORD
    wch072 AS WORD
    wch073 AS WORD
    wch074 AS WORD
    wch075 AS WORD
    wch076 AS WORD
    wch077 AS WORD
    wch078 AS WORD
    wch079 AS WORD
    wch080 AS WORD
    wch081 AS WORD
    wch082 AS WORD
    wch083 AS WORD
    wch084 AS WORD
    wch085 AS WORD
    wch086 AS WORD
    wch087 AS WORD
    wch088 AS WORD
    wch089 AS WORD
    wch090 AS WORD
    wch091 AS WORD
    wch092 AS WORD
    wch093 AS WORD
    wch094 AS WORD
    wch095 AS WORD
    wch096 AS WORD
    wch097 AS WORD
    wch098 AS WORD
    wch099 AS WORD
    wch100 AS WORD
    wch101 AS WORD
    wch102 AS WORD
    wch103 AS WORD
    wch104 AS WORD
    wch105 AS WORD
    wch106 AS WORD
    wch107 AS WORD
    wch108 AS WORD
    wch109 AS WORD
    wch110 AS WORD
    wch111 AS WORD
    wch112 AS WORD
    wch113 AS WORD
    wch114 AS WORD
    wch115 AS WORD
    wch116 AS WORD
    wch117 AS WORD
    wch118 AS WORD
    wch119 AS WORD
    wch120 AS WORD
    wch121 AS WORD
    wch122 AS WORD
    wch123 AS WORD
    wch124 AS WORD
    wch125 AS WORD
    wch126 AS WORD
    wch127 AS WORD
END TYPE

TYPE PBX_WCHAR260
    wch000 AS WORD
    wch001 AS WORD
    wch002 AS WORD
    wch003 AS WORD
    wch004 AS WORD
    wch005 AS WORD
    wch006 AS WORD
    wch007 AS WORD
    wch008 AS WORD
    wch009 AS WORD
    wch010 AS WORD
    wch011 AS WORD
    wch012 AS WORD
    wch013 AS WORD
    wch014 AS WORD
    wch015 AS WORD
    wch016 AS WORD
    wch017 AS WORD
    wch018 AS WORD
    wch019 AS WORD
    wch020 AS WORD
    wch021 AS WORD
    wch022 AS WORD
    wch023 AS WORD
    wch024 AS WORD
    wch025 AS WORD
    wch026 AS WORD
    wch027 AS WORD
    wch028 AS WORD
    wch029 AS WORD
    wch030 AS WORD
    wch031 AS WORD
    wch032 AS WORD
    wch033 AS WORD
    wch034 AS WORD
    wch035 AS WORD
    wch036 AS WORD
    wch037 AS WORD
    wch038 AS WORD
    wch039 AS WORD
    wch040 AS WORD
    wch041 AS WORD
    wch042 AS WORD
    wch043 AS WORD
    wch044 AS WORD
    wch045 AS WORD
    wch046 AS WORD
    wch047 AS WORD
    wch048 AS WORD
    wch049 AS WORD
    wch050 AS WORD
    wch051 AS WORD
    wch052 AS WORD
    wch053 AS WORD
    wch054 AS WORD
    wch055 AS WORD
    wch056 AS WORD
    wch057 AS WORD
    wch058 AS WORD
    wch059 AS WORD
    wch060 AS WORD
    wch061 AS WORD
    wch062 AS WORD
    wch063 AS WORD
    wch064 AS WORD
    wch065 AS WORD
    wch066 AS WORD
    wch067 AS WORD
    wch068 AS WORD
    wch069 AS WORD
    wch070 AS WORD
    wch071 AS WORD
    wch072 AS WORD
    wch073 AS WORD
    wch074 AS WORD
    wch075 AS WORD
    wch076 AS WORD
    wch077 AS WORD
    wch078 AS WORD
    wch079 AS WORD
    wch080 AS WORD
    wch081 AS WORD
    wch082 AS WORD
    wch083 AS WORD
    wch084 AS WORD
    wch085 AS WORD
    wch086 AS WORD
    wch087 AS WORD
    wch088 AS WORD
    wch089 AS WORD
    wch090 AS WORD
    wch091 AS WORD
    wch092 AS WORD
    wch093 AS WORD
    wch094 AS WORD
    wch095 AS WORD
    wch096 AS WORD
    wch097 AS WORD
    wch098 AS WORD
    wch099 AS WORD
    wch100 AS WORD
    wch101 AS WORD
    wch102 AS WORD
    wch103 AS WORD
    wch104 AS WORD
    wch105 AS WORD
    wch106 AS WORD
    wch107 AS WORD
    wch108 AS WORD
    wch109 AS WORD
    wch110 AS WORD
    wch111 AS WORD
    wch112 AS WORD
    wch113 AS WORD
    wch114 AS WORD
    wch115 AS WORD
    wch116 AS WORD
    wch117 AS WORD
    wch118 AS WORD
    wch119 AS WORD
    wch120 AS WORD
    wch121 AS WORD
    wch122 AS WORD
    wch123 AS WORD
    wch124 AS WORD
    wch125 AS WORD
    wch126 AS WORD
    wch127 AS WORD
    wch128 AS WORD
    wch129 AS WORD
    wch130 AS WORD
    wch131 AS WORD
    wch132 AS WORD
    wch133 AS WORD
    wch134 AS WORD
    wch135 AS WORD
    wch136 AS WORD
    wch137 AS WORD
    wch138 AS WORD
    wch139 AS WORD
    wch140 AS WORD
    wch141 AS WORD
    wch142 AS WORD
    wch143 AS WORD
    wch144 AS WORD
    wch145 AS WORD
    wch146 AS WORD
    wch147 AS WORD
    wch148 AS WORD
    wch149 AS WORD
    wch150 AS WORD
    wch151 AS WORD
    wch152 AS WORD
    wch153 AS WORD
    wch154 AS WORD
    wch155 AS WORD
    wch156 AS WORD
    wch157 AS WORD
    wch158 AS WORD
    wch159 AS WORD
    wch160 AS WORD
    wch161 AS WORD
    wch162 AS WORD
    wch163 AS WORD
    wch164 AS WORD
    wch165 AS WORD
    wch166 AS WORD
    wch167 AS WORD
    wch168 AS WORD
    wch169 AS WORD
    wch170 AS WORD
    wch171 AS WORD
    wch172 AS WORD
    wch173 AS WORD
    wch174 AS WORD
    wch175 AS WORD
    wch176 AS WORD
    wch177 AS WORD
    wch178 AS WORD
    wch179 AS WORD
    wch180 AS WORD
    wch181 AS WORD
    wch182 AS WORD
    wch183 AS WORD
    wch184 AS WORD
    wch185 AS WORD
    wch186 AS WORD
    wch187 AS WORD
    wch188 AS WORD
    wch189 AS WORD
    wch190 AS WORD
    wch191 AS WORD
    wch192 AS WORD
    wch193 AS WORD
    wch194 AS WORD
    wch195 AS WORD
    wch196 AS WORD
    wch197 AS WORD
    wch198 AS WORD
    wch199 AS WORD
    wch200 AS WORD
    wch201 AS WORD
    wch202 AS WORD
    wch203 AS WORD
    wch204 AS WORD
    wch205 AS WORD
    wch206 AS WORD
    wch207 AS WORD
    wch208 AS WORD
    wch209 AS WORD
    wch210 AS WORD
    wch211 AS WORD
    wch212 AS WORD
    wch213 AS WORD
    wch214 AS WORD
    wch215 AS WORD
    wch216 AS WORD
    wch217 AS WORD
    wch218 AS WORD
    wch219 AS WORD
    wch220 AS WORD
    wch221 AS WORD
    wch222 AS WORD
    wch223 AS WORD
    wch224 AS WORD
    wch225 AS WORD
    wch226 AS WORD
    wch227 AS WORD
    wch228 AS WORD
    wch229 AS WORD
    wch230 AS WORD
    wch231 AS WORD
    wch232 AS WORD
    wch233 AS WORD
    wch234 AS WORD
    wch235 AS WORD
    wch236 AS WORD
    wch237 AS WORD
    wch238 AS WORD
    wch239 AS WORD
    wch240 AS WORD
    wch241 AS WORD
    wch242 AS WORD
    wch243 AS WORD
    wch244 AS WORD
    wch245 AS WORD
    wch246 AS WORD
    wch247 AS WORD
    wch248 AS WORD
    wch249 AS WORD
    wch250 AS WORD
    wch251 AS WORD
    wch252 AS WORD
    wch253 AS WORD
    wch254 AS WORD
    wch255 AS WORD
    wch256 AS WORD
    wch257 AS WORD
    wch258 AS WORD
    wch259 AS WORD
END TYPE

TYPE FILETIME
    dwLowDateTime AS DWORD
    dwHighDateTime AS DWORD
END TYPE

TYPE SYSTEMTIME
    wYear AS WORD
    wMonth AS WORD
    wDayOfWeek AS WORD
    wDay AS WORD
    wHour AS WORD
    wMinute AS WORD
    wSecond AS WORD
    wMilliseconds AS WORD
END TYPE

TYPE POINT
    x AS LONG
    y AS LONG
END TYPE

TYPE SIZE
    cx AS LONG
    cy AS LONG
END TYPE

TYPE RECT
    left AS LONG
    top AS LONG
    right AS LONG
    bottom AS LONG
END TYPE

TYPE PBX_GUID
    Data1 AS DWORD
    Data2 AS WORD
    Data3 AS WORD
    Data4 AS PBX_BYTE8
END TYPE

TYPE LARGE_INTEGER
    QuadPart AS QUAD
END TYPE

TYPE ULARGE_INTEGER
    QuadPart AS QUAD
END TYPE

TYPE SECURITY_ATTRIBUTES
    nLength AS DWORD
    lpSecurityDescriptor AS QUAD
    bInheritHandle AS LONG
END TYPE

TYPE OVERLAPPED
    Internal AS QUAD
    InternalHigh AS QUAD
    Offset AS DWORD
    OffsetHigh AS DWORD
    hEvent AS QUAD
END TYPE

TYPE PROCESS_INFORMATION
    hProcess AS QUAD
    hThread AS QUAD
    dwProcessId AS DWORD
    dwThreadId AS DWORD
END TYPE

TYPE STARTUPINFOA
    cb AS DWORD
    lpReserved AS QUAD
    lpDesktop AS QUAD
    lpTitle AS ASCIIZ PTR
    dwX AS DWORD
    dwY AS DWORD
    dwXSize AS DWORD
    dwYSize AS DWORD
    dwXCountChars AS DWORD
    dwYCountChars AS DWORD
    dwFillAttribute AS DWORD
    dwFlags AS DWORD
    wShowWindow AS WORD
    cbReserved2 AS WORD
    lpReserved2 AS QUAD
    hStdInput AS QUAD
    hStdOutput AS QUAD
    hStdError AS QUAD
END TYPE

TYPE STARTUPINFOW
    cb AS DWORD
    lpReserved AS QUAD
    lpDesktop AS QUAD
    lpTitle AS WSTRINGZ PTR
    dwX AS DWORD
    dwY AS DWORD
    dwXSize AS DWORD
    dwYSize AS DWORD
    dwXCountChars AS DWORD
    dwYCountChars AS DWORD
    dwFillAttribute AS DWORD
    dwFlags AS DWORD
    wShowWindow AS WORD
    cbReserved2 AS WORD
    lpReserved2 AS QUAD
    hStdInput AS QUAD
    hStdOutput AS QUAD
    hStdError AS QUAD
END TYPE

TYPE WIN32_FILE_ATTRIBUTE_DATA
    dwFileAttributes AS DWORD
    ftCreationTime AS FILETIME
    ftLastAccessTime AS FILETIME
    ftLastWriteTime AS FILETIME
    nFileSizeHigh AS DWORD
    nFileSizeLow AS DWORD
END TYPE

TYPE WIN32_FIND_DATAA
    dwFileAttributes AS DWORD
    ftCreationTime AS FILETIME
    ftLastAccessTime AS FILETIME
    ftLastWriteTime AS FILETIME
    nFileSizeHigh AS DWORD
    nFileSizeLow AS DWORD
    dwReserved0 AS DWORD
    dwReserved1 AS DWORD
    cFileName AS PBX_CHAR260
    cAlternateFileName AS PBX_CHAR14
    dwFileType AS DWORD
    dwCreatorType AS DWORD
    wFinderFlags AS WORD
END TYPE

TYPE WIN32_FIND_DATAW
    dwFileAttributes AS DWORD
    ftCreationTime AS FILETIME
    ftLastAccessTime AS FILETIME
    ftLastWriteTime AS FILETIME
    nFileSizeHigh AS DWORD
    nFileSizeLow AS DWORD
    dwReserved0 AS DWORD
    dwReserved1 AS DWORD
    cFileName AS PBX_WCHAR260
    cAlternateFileName AS PBX_WCHAR14
    dwFileType AS DWORD
    dwCreatorType AS DWORD
    wFinderFlags AS WORD
END TYPE

TYPE MEMORY_BASIC_INFORMATION
    BaseAddress AS QUAD
    AllocationBase AS QUAD
    AllocationProtect AS DWORD
    PartitionId AS WORD
    RegionSize AS QUAD
    State AS DWORD
    Protect AS DWORD
    dwType AS DWORD
END TYPE

TYPE OSVERSIONINFOEXA
    dwOSVersionInfoSize AS DWORD
    dwMajorVersion AS DWORD
    dwMinorVersion AS DWORD
    dwBuildNumber AS DWORD
    dwPlatformId AS DWORD
    szCSDVersion AS PBX_CHAR128
    wServicePackMajor AS WORD
    wServicePackMinor AS WORD
    wSuiteMask AS WORD
    wProductType AS BYTE
    wReserved AS BYTE
END TYPE

TYPE OSVERSIONINFOEXW
    dwOSVersionInfoSize AS DWORD
    dwMajorVersion AS DWORD
    dwMinorVersion AS DWORD
    dwBuildNumber AS DWORD
    dwPlatformId AS DWORD
    szCSDVersion AS PBX_WCHAR128
    wServicePackMajor AS WORD
    wServicePackMinor AS WORD
    wSuiteMask AS WORD
    wProductType AS BYTE
    wReserved AS BYTE
END TYPE

TYPE TIME_ZONE_INFORMATION
    Bias AS LONG
    StandardName AS PBX_WCHAR32
    StandardDate AS SYSTEMTIME
    StandardBias AS LONG
    DaylightName AS PBX_WCHAR32
    DaylightDate AS SYSTEMTIME
    DaylightBias AS LONG
END TYPE

TYPE COORD
    X AS INTEGER
    Y AS INTEGER
END TYPE

TYPE SMALL_RECT
    Left AS INTEGER
    Top AS INTEGER
    Right AS INTEGER
    Bottom AS INTEGER
END TYPE

TYPE CONSOLE_SCREEN_BUFFER_INFO
    dwSize AS COORD
    dwCursorPosition AS COORD
    wAttributes AS WORD
    srWindow AS SMALL_RECT
    dwMaximumWindowSize AS COORD
END TYPE

TYPE MSG
    hwnd AS QUAD
    message AS DWORD
    wParam AS QUAD
    lParam AS QUAD
    time AS DWORD
    pt AS POINT
    lPrivate AS DWORD
END TYPE

TYPE WNDCLASSEXA
    cbSize AS DWORD
    style AS DWORD
    lpfnWndProc AS QUAD
    cbClsExtra AS LONG
    cbWndExtra AS LONG
    hInstance AS QUAD
    hIcon AS QUAD
    hCursor AS QUAD
    hbrBackground AS QUAD
    lpszMenuName AS QUAD
    lpszClassName AS QUAD
    hIconSm AS QUAD
END TYPE

TYPE WNDCLASSEXW
    cbSize AS DWORD
    style AS DWORD
    lpfnWndProc AS QUAD
    cbClsExtra AS LONG
    cbWndExtra AS LONG
    hInstance AS QUAD
    hIcon AS QUAD
    hCursor AS QUAD
    hbrBackground AS QUAD
    lpszMenuName AS QUAD
    lpszClassName AS QUAD
    hIconSm AS QUAD
END TYPE

TYPE CREATESTRUCTA
    lpCreateParams AS QUAD
    hInstance AS QUAD
    hMenu AS QUAD
    hwndParent AS QUAD
    cy AS LONG
    cx AS LONG
    y AS LONG
    x AS LONG
    style AS LONG
    lpszName AS QUAD
    lpszClass AS QUAD
    dwExStyle AS DWORD
END TYPE

TYPE CREATESTRUCTW
    lpCreateParams AS QUAD
    hInstance AS QUAD
    hMenu AS QUAD
    hwndParent AS QUAD
    cy AS LONG
    cx AS LONG
    y AS LONG
    x AS LONG
    style AS LONG
    lpszName AS QUAD
    lpszClass AS QUAD
    dwExStyle AS DWORD
END TYPE

TYPE PAINTSTRUCT
    hdc AS QUAD
    fErase AS LONG
    rcPaint AS RECT
    fRestore AS LONG
    fIncUpdate AS LONG
    rgbReserved AS PBX_BYTE32
END TYPE

TYPE NMHDR
    hwndFrom AS QUAD
    idFrom AS QUAD
    code AS LONG
END TYPE

TYPE INITCOMMONCONTROLSEX
    dwSize AS DWORD
    dwICC AS DWORD
END TYPE

TYPE MOUSEINPUT
    dx AS LONG
    dy AS LONG
    mouseData AS DWORD
    dwFlags AS DWORD
    time AS DWORD
    dwExtraInfo AS QUAD
END TYPE

TYPE KEYBDINPUT
    wVk AS WORD
    wScan AS WORD
    dwFlags AS DWORD
    time AS DWORD
    dwExtraInfo AS QUAD
END TYPE

TYPE HARDWAREINPUT
    uMsg AS DWORD
    wParamL AS WORD
    wParamH AS WORD
END TYPE

TYPE PBX_INPUT
    dwType AS DWORD
    pad0 AS DWORD
    mi AS MOUSEINPUT
END TYPE

TYPE RGBQUAD
    rgbBlue AS BYTE
    rgbGreen AS BYTE
    rgbRed AS BYTE
    rgbReserved AS BYTE
END TYPE

TYPE BITMAP
    bmType AS LONG
    bmWidth AS LONG
    bmHeight AS LONG
    bmWidthBytes AS LONG
    bmPlanes AS WORD
    bmBitsPixel AS WORD
    bmBits AS QUAD
END TYPE

TYPE BITMAPINFOHEADER
    biSize AS DWORD
    biWidth AS LONG
    biHeight AS LONG
    biPlanes AS WORD
    biBitCount AS WORD
    biCompression AS DWORD
    biSizeImage AS DWORD
    biXPelsPerMeter AS LONG
    biYPelsPerMeter AS LONG
    biClrUsed AS DWORD
    biClrImportant AS DWORD
END TYPE

TYPE BLENDFUNCTION
    BlendOp AS BYTE
    BlendFlags AS BYTE
    SourceConstantAlpha AS BYTE
    AlphaFormat AS BYTE
END TYPE

TYPE OPENFILENAMEA
    lStructSize AS DWORD
    hwndOwner AS QUAD
    hInstance AS QUAD
    lpstrFilter AS QUAD
    lpstrCustomFilter AS QUAD
    nMaxCustFilter AS DWORD
    nFilterIndex AS DWORD
    lpstrFile AS QUAD
    nMaxFile AS DWORD
    lpstrFileTitle AS QUAD
    nMaxFileTitle AS DWORD
    lpstrInitialDir AS QUAD
    lpstrTitle AS QUAD
    Flags AS DWORD
    nFileOffset AS WORD
    nFileExtension AS WORD
    lpstrDefExt AS QUAD
    lCustData AS QUAD
    lpfnHook AS QUAD
    lpTemplateName AS QUAD
    pvReserved AS QUAD
    dwReserved AS DWORD
    FlagsEx AS DWORD
END TYPE

TYPE OPENFILENAMEW
    lStructSize AS DWORD
    hwndOwner AS QUAD
    hInstance AS QUAD
    lpstrFilter AS QUAD
    lpstrCustomFilter AS QUAD
    nMaxCustFilter AS DWORD
    nFilterIndex AS DWORD
    lpstrFile AS QUAD
    nMaxFile AS DWORD
    lpstrFileTitle AS QUAD
    nMaxFileTitle AS DWORD
    lpstrInitialDir AS QUAD
    lpstrTitle AS QUAD
    Flags AS DWORD
    nFileOffset AS WORD
    nFileExtension AS WORD
    lpstrDefExt AS QUAD
    lCustData AS QUAD
    lpfnHook AS QUAD
    lpTemplateName AS QUAD
    pvReserved AS QUAD
    dwReserved AS DWORD
    FlagsEx AS DWORD
END TYPE

TYPE SHELLEXECUTEINFOA
    cbSize AS DWORD
    fMask AS DWORD
    hwnd AS QUAD
    lpVerb AS QUAD
    lpFile AS QUAD
    lpParameters AS QUAD
    lpDirectory AS QUAD
    nShow AS LONG
    hInstApp AS QUAD
    lpIDList AS QUAD
    lpClass AS QUAD
    hkeyClass AS QUAD
    dwHotKey AS DWORD
    hIcon AS QUAD
    hProcess AS QUAD
END TYPE

TYPE SHELLEXECUTEINFOW
    cbSize AS DWORD
    fMask AS DWORD
    hwnd AS QUAD
    lpVerb AS QUAD
    lpFile AS QUAD
    lpParameters AS QUAD
    lpDirectory AS QUAD
    nShow AS LONG
    hInstApp AS QUAD
    lpIDList AS QUAD
    lpClass AS QUAD
    hkeyClass AS QUAD
    dwHotKey AS DWORD
    hIcon AS QUAD
    hProcess AS QUAD
END TYPE

TYPE IN_ADDR
    S_addr AS DWORD
END TYPE

TYPE SOCKADDR
    sa_family AS WORD
    sa_data AS PBX_CHAR14
END TYPE

TYPE SOCKADDR_IN
    sin_family AS WORD
    sin_port AS WORD
    sin_addr AS IN_ADDR
    sin_zero AS PBX_BYTE8
END TYPE

TYPE WSADATA
    wVersion AS WORD
    wHighVersion AS WORD
    szDescription AS PBX_CHAR257
    szSystemStatus AS PBX_CHAR129
    iMaxSockets AS WORD
    iMaxUdpDg AS WORD
    lpVendorInfo AS QUAD
END TYPE

TYPE FILETIME_PAIR
    LowDateTime AS DWORD
    HighDateTime AS DWORD
END TYPE

' Parser/ABI sizes for the structures above. Use these where WinAPI cbSize/lStructSize is required.
CONST SIZEOF_FILETIME AS LONG = 8
CONST SIZEOF_SYSTEMTIME AS LONG = 16
CONST SIZEOF_POINT AS LONG = 8
CONST SIZEOF_SIZE AS LONG = 8
CONST SIZEOF_RECT AS LONG = 16
CONST SIZEOF_LARGE_INTEGER AS LONG = 8
CONST SIZEOF_ULARGE_INTEGER AS LONG = 8
CONST SIZEOF_SECURITY_ATTRIBUTES AS LONG = 24
CONST SIZEOF_OVERLAPPED AS LONG = 32
CONST SIZEOF_PROCESS_INFORMATION AS LONG = 24
CONST SIZEOF_STARTUPINFOA AS LONG = 104
CONST SIZEOF_STARTUPINFOW AS LONG = 104
CONST SIZEOF_WIN32_FILE_ATTRIBUTE_DATA AS LONG = 36
CONST SIZEOF_WIN32_FIND_DATAA AS LONG = 332
CONST SIZEOF_WIN32_FIND_DATAW AS LONG = 604
CONST SIZEOF_MEMORY_BASIC_INFORMATION AS LONG = 48
CONST SIZEOF_OSVERSIONINFOEXA AS LONG = 156
CONST SIZEOF_OSVERSIONINFOEXW AS LONG = 284
CONST SIZEOF_TIME_ZONE_INFORMATION AS LONG = 172
CONST SIZEOF_COORD AS LONG = 4
CONST SIZEOF_SMALL_RECT AS LONG = 8
CONST SIZEOF_CONSOLE_SCREEN_BUFFER_INFO AS LONG = 22
CONST SIZEOF_MSG AS LONG = 48
CONST SIZEOF_WNDCLASSEXA AS LONG = 80
CONST SIZEOF_WNDCLASSEXW AS LONG = 80
CONST SIZEOF_CREATESTRUCTA AS LONG = 80
CONST SIZEOF_CREATESTRUCTW AS LONG = 80
CONST SIZEOF_PAINTSTRUCT AS LONG = 72
CONST SIZEOF_NMHDR AS LONG = 24
CONST SIZEOF_INITCOMMONCONTROLSEX AS LONG = 8
CONST SIZEOF_MOUSEINPUT AS LONG = 32
CONST SIZEOF_KEYBDINPUT AS LONG = 24
CONST SIZEOF_HARDWAREINPUT AS LONG = 8
CONST SIZEOF_RGBQUAD AS LONG = 4
CONST SIZEOF_BITMAP AS LONG = 32
CONST SIZEOF_BITMAPINFOHEADER AS LONG = 40
CONST SIZEOF_BLENDFUNCTION AS LONG = 4
CONST SIZEOF_OPENFILENAMEA AS LONG = 152
CONST SIZEOF_OPENFILENAMEW AS LONG = 152
CONST SIZEOF_SHELLEXECUTEINFOA AS LONG = 112
CONST SIZEOF_SHELLEXECUTEINFOW AS LONG = 112
CONST SIZEOF_IN_ADDR AS LONG = 4
CONST SIZEOF_SOCKADDR AS LONG = 16
CONST SIZEOF_SOCKADDR_IN AS LONG = 16
CONST SIZEOF_WSADATA AS LONG = 408
CONST SIZEOF_FILETIME_PAIR AS LONG = 8

#ENDIF
