wine.inf: We should not override existing associations.
[wine/hacks.git] / dlls / hhctrl.ocx / chm.h
blob4112ba5d1507912939f5478b68e76835e3519c41
1 /*
2 * CHM Utility API
4 * Copyright 2005 James Hawkins
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef CHM_H
22 #define CHM_H
24 #include "wine/itss.h"
26 typedef struct CHMInfo
28 IITStorage *pITStorage;
29 IStorage *pStorage;
30 LPCWSTR szFile;
31 } CHMInfo;
33 BOOL CHM_OpenCHM(CHMInfo *pCHMInfo, LPCWSTR szFile);
34 BOOL CHM_LoadWinTypeFromCHM(CHMInfo *pCHMInfo, HH_WINTYPEW *pHHWinType);
35 void CHM_CloseCHM(CHMInfo *pCHMInfo);
36 void CHM_CreateITSUrl(CHMInfo *pCHMInfo, LPCWSTR szIndex, LPWSTR szUrl);
38 #endif