windows-nt/Source/XPSP1/NT/com/oleutest/letest/ole2ui/utility.h

38 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*
* 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_