C# 클래스 ManagedWin32.BitHelper

Helps perform certain operations on primative types that deal with bits
파일 보기 프로젝트 열기: MathewSachin/ManagedWin32

공개 메소드들

메소드 설명
HiByte ( this pWord ) : byte

The return value is the high-order byte of the specified value.

HiDword ( this pDWord ) : int

The return value is the high-order double word of the specified value.

HiWord ( this pDWord ) : short

The return value is the high-order word of the specified value.

LoByte ( this pWord ) : byte

The return value is the low-order byte of the specified value.

LoDword ( this pDWord ) : int

The return value is the low-order word of the specified value.

LoWord ( this pDWord ) : short

The return value is the low-order word of the specified value.

MakeLong ( short low, short high ) : int

Make an integer putting low in low 2-bytes and high in high 2-bytes.

MakeWord ( byte low, byte high ) : short

Make an short from 2-bytes.

메소드 상세

HiByte() 공개 정적인 메소드

The return value is the high-order byte of the specified value.
public static HiByte ( this pWord ) : byte
pWord this
리턴 byte

HiDword() 공개 정적인 메소드

The return value is the high-order double word of the specified value.
public static HiDword ( this pDWord ) : int
pDWord this
리턴 int

HiWord() 공개 정적인 메소드

The return value is the high-order word of the specified value.
public static HiWord ( this pDWord ) : short
pDWord this
리턴 short

LoByte() 공개 정적인 메소드

The return value is the low-order byte of the specified value.
public static LoByte ( this pWord ) : byte
pWord this
리턴 byte

LoDword() 공개 정적인 메소드

The return value is the low-order word of the specified value.
public static LoDword ( this pDWord ) : int
pDWord this
리턴 int

LoWord() 공개 정적인 메소드

The return value is the low-order word of the specified value.
public static LoWord ( this pDWord ) : short
pDWord this
리턴 short

MakeLong() 공개 정적인 메소드

Make an integer putting low in low 2-bytes and high in high 2-bytes.
public static MakeLong ( short low, short high ) : int
low short
high short
리턴 int

MakeWord() 공개 정적인 메소드

Make an short from 2-bytes.
public static MakeWord ( byte low, byte high ) : short
low byte
high byte
리턴 short