Completed implementation of comcat.dll, incl. Dll[Un]RegisterServer.
[wine.git] / dlls / comcat / regsvr.h
blobae15306323cd54f2ea299adc07583cd1d7862ee9
1 /*
2 * self-registerable dll helper functions
4 * Copyright (C) 2002 John K. Hohm
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 struct regsvr_entry {
22 int parent; /* entry number, or predefined HKEY_ */
23 int unreg_del; /* recursively delete key on unregister? */
24 LPCWSTR name; /* key or value name */
25 LPCWSTR value; /* NULL for key */
28 HRESULT regsvr_register(struct regsvr_entry const *entries, size_t count);
29 HRESULT regsvr_unregister(struct regsvr_entry const *entries, size_t count);