Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

38 lines
1.2 KiB

/*
* UTILITY.H
*
* Miscellaneous prototypes and definitions for OLE UI dialogs.
*
* Copyright (c)1992 Microsoft Corporation, All Right Reserved
*/
#ifndef _UTILITY_H_
#define _UTILITY_H_
//Function prototypes
//UTILITY.C
HCURSOR WINAPI HourGlassOn(void);
void WINAPI HourGlassOff(HCURSOR);
BOOL WINAPI Browse(HWND, LPTSTR, LPTSTR, UINT, UINT, DWORD);
int WINAPI ReplaceCharWithNull(LPTSTR, int);
int WINAPI ErrorWithFile(HWND, HINSTANCE, UINT, LPTSTR, UINT);
HFILE WINAPI DoesFileExist(LPTSTR lpszFile, OFSTRUCT FAR* lpOpenBuf);
HICON FAR PASCAL HIconAndSourceFromClass(REFCLSID, LPTSTR, UINT FAR *);
BOOL FAR PASCAL FIconFileFromClass(REFCLSID, LPTSTR, UINT, UINT FAR *);
LPTSTR FAR PASCAL PointerToNthField(LPTSTR, int, TCHAR);
BOOL FAR PASCAL GetAssociatedExecutable(LPTSTR, LPTSTR);
HICON WINAPI HIconFromClass(LPTSTR);
BOOL WINAPI FServerFromClass(LPTSTR, LPTSTR, UINT);
UINT WINAPI UClassFromDescription(LPTSTR, LPTSTR, UINT);
UINT WINAPI UDescriptionFromClass(LPTSTR, LPTSTR, UINT);
BOOL WINAPI FVerbGet(LPTSTR, UINT, LPTSTR);
LPTSTR WINAPI ChopText(HWND hwndStatic, int nWidth, LPTSTR lpch);
void WINAPI OpenFileError(HWND hDlg, UINT nErrCode, LPTSTR lpszFile);
#endif //_UTILITY_H_