UtilWin32SetHiByte Method

Sets the high-order byte of an WORD value.

Definition

Namespace: DevCase.Win32
Assembly: 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
)

Parameters

word  UInt16
The WORD value that contains the LOBYTE and the HIBYTE.
hiByte  Byte
The new HIBYTE value.

Return Value

UInt16
The resulting WORD value containing the LOBYTE and the new HIBYTE.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also