UTIL.H

/*========================================================================== 
*
* Copyright (C) 1995-1997 Microsoft Corporation. All Rights Reserved.
*
* File:util.h
* Content:miscellaneous utilities include file
*
*
***************************************************************************/

#include <windows.h>

#define GUIDSTR_MAX 38
#define GUID_STRING_SIZE 64

intStringFromGUID(GUID *lpguid, LPWSTR lpsz);
BOOLIsEqualGuid(GUID *lpguid1, LPGUID lpguid2);
intGetDigit(LPSTR lpstr);
voidConvertField(LPBYTE lpByte,LPSTR * ppStr,int iFieldSize,BOOL fRightToLeft);
HRESULT GUIDFromString(LPWSTR lpWStr, GUID * pGuid);
intWideToAnsi(LPSTR lpStr,LPWSTR lpWStr,int cchStr);
intAnsiToWide(LPWSTR lpWStr,LPSTR lpStr,int cchWStr);
intrandInt( int low, int high );
doublerandDouble( double low, double high );