comctl32/monthcal: Move selection logic to LButton release handler, fix notifications...
[wine/multimedia.git] / include / sti.h
blobcafdc6e8118578bc79dc77b3aca6385be0cdc838
1 /*
2 * Copyright (C) 2009 Damjan Jovanovic
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 #ifndef __WINE_STI_H
20 #define __WINE_STI_H
22 #include <objbase.h>
23 /* #include <stireg.h> */
24 /* #include <stierr.h> */
26 #include <pshpack8.h>
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
32 DEFINE_GUID(CLSID_Sti, 0xB323F8E0L, 0x2E68, 0x11D0, 0x90, 0xEA, 0x00, 0xAA, 0x00, 0x60, 0xF8, 0x6C);
34 DEFINE_GUID(IID_IStillImageW, 0x641BD880, 0x2DC8, 0x11D0, 0x90, 0xEA, 0x00, 0xAA, 0x00, 0x60, 0xF8, 0x6C);
36 DEFINE_GUID(IID_IStillImageA, 0xA7B1F740, 0x1D7F, 0x11D1, 0xAC, 0xA9, 0x00, 0xA0, 0x24, 0x38, 0xAD, 0x48);
38 #define STI_VERSION_REAL 0x00000002
39 #define STI_VERSION_FLAG_UNICODE 0x01000000
41 #ifndef WINE_NO_UNICODE_MACROS
42 # ifdef UNICODE
43 # define STI_VERSION (STI_VERSION_REAL | STI_VERSION_FLAG_UNICODE)
44 # else
45 # define STI_VERSION (STI_VERSION_REAL)
46 # endif
47 #endif
49 typedef struct IStillImageA *PSTIA;
50 typedef struct IStillImageW *PSTIW;
51 DECL_WINELIB_TYPE_AW(PSTI)
53 HRESULT WINAPI StiCreateInstanceA(HINSTANCE hinst, DWORD dwVer, PSTIA *ppSti, LPUNKNOWN pUnkOuter);
54 HRESULT WINAPI StiCreateInstanceW(HINSTANCE hinst, DWORD dwVer, PSTIW *ppSti, LPUNKNOWN pUnkOuter);
56 #ifdef __cplusplus
58 #endif
60 #include <poppack.h>
62 #endif /* __WINE_STI_H */