Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
783 B

// Util.h -- Utility routines that don't belong with a single class
#ifndef __UTIL_H__
#define __UTIL_H__
// PBYTE FindLastLineBreak(PBYTE pbText, int cbText); //rmk
UINT InxBinarySearch(UINT lTarget, PUINT palBrackets, UINT cBrackets);
typedef struct _RefBits
{
UINT cReferences : 26;
UINT cbitsBasis : 5;
UINT fRefPair : 1;
} RefBits;
typedef struct _RefListDescriptor
{
union
{
RefBits rb;
UINT iRefSecond;
};
union
{
UINT iRefFirst;
UINT ibitRefListBase;
};
} RefListDescriptor;
typedef RefListDescriptor *PRefListDescriptor;
#endif // __UTIL_H__