1 /* 2 * Copyright 2009 Hans Leidekker for CodeWeavers 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17 */ 18 19 #pragma once 20 21 enum type_id 22 { 23 INetFwAuthorizedApplication_tid, 24 INetFwAuthorizedApplications_tid, 25 INetFwMgr_tid, 26 INetFwOpenPort_tid, 27 INetFwOpenPorts_tid, 28 INetFwPolicy_tid, 29 INetFwPolicy2_tid, 30 INetFwProfile_tid, 31 INetFwRules_tid, 32 last_tid 33 }; 34 35 HRESULT get_typeinfo(enum type_id, ITypeInfo **) DECLSPEC_HIDDEN; 36 void release_typelib(void) DECLSPEC_HIDDEN; 37 38 HRESULT NetFwMgr_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN; 39 HRESULT NetFwPolicy_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN; 40 HRESULT NetFwPolicy2_create(IUnknown *, void **) DECLSPEC_HIDDEN; 41 HRESULT NetFwProfile_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN; 42 HRESULT NetFwAuthorizedApplication_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN; 43 HRESULT NetFwAuthorizedApplications_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN; 44 HRESULT NetFwOpenPorts_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN; 45 HRESULT NetFwOpenPort_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN; 46 HRESULT NetFwServices_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN; 47