windows-nt/Source/XPSP1/NT/com/oleutest/letest/ole2ui/utility.h
2020-09-26 16:20:57 +08:00

38 lines
1.2 KiB
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* 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_