UtilWin32SetHiByte Method
Sets the high-order byte of an WORD value.
Namespace: DevCase.Win32Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static ushort SetHiByte(
ushort word,
byte hiByte
)
Public Shared Function SetHiByte (
word As UShort,
hiByte As Byte
) As UShort
Dim word As UShort
Dim hiByte As Byte
Dim returnValue As UShort
returnValue = UtilWin32.SetHiByte(word,
hiByte)
public:
static unsigned short SetHiByte(
unsigned short word,
unsigned char hiByte
)
static member SetHiByte :
word : uint16 *
hiByte : byte -> uint16
No code example is currently available or this language may not be supported.
- word UInt16
-
The WORD value that contains the LOBYTE and the HIBYTE.
- hiByte Byte
-
The new HIBYTE value.
UInt16
The resulting WORD value containing the LOBYTE and the new HIBYTE.
This is a code example.
No code example is currently available or this language may not be supported.
Dim value as UShort = SetHiByte(Short.MaxValue, Byte.MaxValue)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.