??? Endian ??????? "?" ????? Endian ????

?????? ????????? ?????? ?????????
???? ???????: 102025 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

??? ????? ????? ????????? "? ???? ?????? ?? ????? ????? ?????? ????? ??????? ????? ???????. ???? ??????? Endian ? ???? Endian ?? ?????? ??? ??????? ???? ??? ????? ????? ?????? ?? ???????. ?? ????? ??? ????? Endian ???? Windows NT ? ?? ??? ????? ????? ???????? ?? Endian ????? ??? ???? ??????? ???????? ?? ??? ????? ??? Endian ????.

??????? ????

??? ?????? ??? ???????? ????? ?? "????? ???? ??" ?? "?????? ???????? ??." ????? ???? ??? ??????? ???? ??? ??? ????? ???????. ??? ???? ??????? Intel ??? ????? ????? ????? ?????. ???? ???? ????? ???? Hex ??? 0x1234 ?? ??????? ?? (0x34 0x12). ??? ????? ?? ????? ??????? ?? ????? ?????? ?????. ???? ????? ???? ???? ?? ???? ?????; ??? ???? ??????? ?? ???? ????? 0x12345678 ?? (0x78 0x56 0x34 0x12). "????? ???? ??" ???? ???? ???? ???? 0x1234 ?? ???? ????? (0x12 0x34) ?? ???????. ??? ?? ??????? ???????? ?? ??? ????? ????????? Motorola ??? ???? ????? ??????? ??? ????? ????????? ???? ???? ????? RISC. ????? ????????? ???????? ??? RISC MIPS ?????? Alpha DEC ????? ??????? Endian ??????? ?? Endian ????. ???? Windows NT ??? ?? ??? Endian ???? ??? ?? ?? ????? ?????????.

?? ????? Windows NT ??? ????? Endian ????. ??? ????? ???? ????? ??????? (HAL) ???? ??? ?????? ???? ??????? ???????? ??? ???? ??????? ????????. ????? ?? ?????? ????? HAL ???? ?? ???? ??? ????? Endian ???????. ????? ????? ??????? ?? ????? ???????? ???????? ??? ??????? ?????? ????? ????? ????????? ???????? ????? ???????. ?????? ?? ??? ????? ????????? ???????? ??????? ??? ??? ??????? Endian ??????? ?? Endian ????. ?? ?? ???? ??? ???? HAL; ?? ???? ??? ?????? ??? ????? ?? ??????. ?????? ??? ??????? ???? ???? ???????? ?????.

???? 1

   struct
   {
      WORD y;
      WORD x;
   } POS;

   lparam = (DWORD) POS;
				
???? ?????, ??? ?????? ?? ????????? ???????? ???? ???? Endian ??? ?????????. ??? ???? ?????? ??????? ????? ?????? ?? ???? 'C'. ??? ?? ???? ???? Intel ???? ?? ???? ?? Endian ???????.

???? 2

???? ??? ??? ?????? ????? ???????? ????? ??. ?????? ???? ????? ???? ??:
   #define BITMASK    0x0008
				
??? ???? ?? ???? ??? ??? ??? ???? ?????? ??? 1 ???? AND ?? ??? ???. ??? ???? ?? ????? 4 ?? ?????? OR ing ???? ?? ???? ????. ???? ??????? ??? ??? OR ?? AND ??? ?? DWORD (????? Word) ?? ?? ??? ??? ??? ???? ??? ????. ???? ??? ????? ????? ???? ????? ??? ??????. ?? ???? ???????? ??? ????? ??? ?? ???? Endian ??? ??? ?? ???? ???? ??????? ?? Endian ???????. ??? ?????? ????? ???? ????? ?? ????????? ???????? ??? ???????? ?????.

???? ?? ?????? PowerPC ? Sparc ????? switchable ??? ???? Endian Endian ???????. ??? ???? ??? ????? ????? PowerMac Apple ????? PowerPC ?? ??? Endian ???????. ??? ?? ?? ?????? Windows NT PowerPC ???? ?? ??????? ?? ?? ????? PowerMac PowerPC.

???????

???? ???????: 102025 - ????? ??? ??????: 10/????/1427 - ??????: 2.1
????? ???
  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Advanced Server 3.1
????? ??????: 
kbmt kbhardware KB102025 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????102025

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com