include: Pack HID_DESCRIPTOR.
[wine/zf.git] / include / amsi.idl
blob31303a3629071b54a5ac0a93ec5de1de0bd125c4
1 /*
2 * Copyright 2019 Hans Leidekker for CodeWeavers
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.
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.
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
19 cpp_quote("DECLARE_HANDLE(HAMSICONTEXT);")
20 cpp_quote("DECLARE_HANDLE(HAMSISESSION);")
22 typedef [v1_enum] enum AMSI_RESULT
24 AMSI_RESULT_CLEAN = 0x00,
25 AMSI_RESULT_NOT_DETECTED = 0x01,
26 AMSI_RESULT_BLOCKED_BY_ADMIN_START = 0x4000,
27 AMSI_RESULT_BLOCKED_BY_ADMIN_END = 0x4fff,
28 AMSI_RESULT_DETECTED = 0x8000,
29 } AMSI_RESULT;
31 cpp_quote("void WINAPI AmsiCloseSession(HAMSICONTEXT,HAMSISESSION);")
32 cpp_quote("HRESULT WINAPI AmsiInitialize(const WCHAR*,HAMSICONTEXT*);")
33 cpp_quote("HRESULT WINAPI AmsiOpenSession(HAMSICONTEXT,HAMSISESSION*);")
34 cpp_quote("HRESULT WINAPI AmsiScanBuffer(HAMSICONTEXT,void*,ULONG,const WCHAR*,HAMSISESSION,AMSI_RESULT*);")
35 cpp_quote("HRESULT WINAPI AmsiScanString(HAMSICONTEXT,const WCHAR*,const WCHAR *,HAMSISESSION,AMSI_RESULT*);")
36 cpp_quote("void WINAPI AmsiUninitialize(HAMSICONTEXT);")