32DEFINE_GUID(CLSID_Sti, 0xB323F8E0L, 0x2E68, 0x11D0, 0x90, 0xEA, 0x00, 0xAA, 0x00, 0x60, 0xF8, 0x6C);
34DEFINE_GUID(IID_IStillImageW, 0x641BD880, 0x2DC8, 0x11D0, 0x90, 0xEA, 0x00, 0xAA, 0x00, 0x60, 0xF8, 0x6C);
36DEFINE_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
43# define STI_VERSION (STI_VERSION_REAL | STI_VERSION_FLAG_UNICODE)
45# define STI_VERSION (STI_VERSION_REAL)
49typedef struct IStillImageA *
PSTIA;
50typedef struct IStillImageW *
PSTIW;
61#define StiCreateInstance WINELIB_NAME_AW(StiCreateInstance)
72#define GET_STIDEVICE_TYPE(dwDevType) HIWORD(dwDevType)
73#define GET_STIDEVICE_SUBTYPE(dwDevType) LOWORD(dwDevType)
79#define STI_MAX_INTERNAL_NAME_LENGTH 128
97#define MAX_NOTIFICATION_DATA 64
105#define INTERFACE IStillImageW
131#if !defined(__cplusplus) || defined(CINTERFACE)
133#define IStillImage_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
134#define IStillImage_AddRef(p) (p)->lpVtbl->AddRef(p)
135#define IStillImage_Release(p) (p)->lpVtbl->Release(p)
137#define IStillImage_Initialize(p,a,b) (p)->lpVtbl->Initialize(p,a,b)
138#define IStillImage_GetDeviceList(p,a,b,c,d) (p)->lpVtbl->GetDeviceList(p,a,b,c,d)
139#define IStillImage_GetDeviceInfo(p,a,b) (p)->lpVtbl->GetDeviceInfo(p,a,b)
140#define IStillImage_CreateDevice(p,a,b,c,d) (p)->lpVtbl->CreateDevice(p,a,b,c,d)
141#define IStillImage_GetDeviceValue(p,a,b,c,d,e) (p)->lpVtbl->GetDeviceValue(p,a,b,c,d,e)
142#define IStillImage_SetDeviceValue(p,a,b,c,d,e) (p)->lpVtbl->SetDeviceValue(p,a,b,c,d,e)
143#define IStillImage_GetSTILaunchInformation(p,a,b,c) (p)->lpVtbl->GetSTILaunchInformation(p,a,b,c)
144#define IStillImage_RegisterLaunchApplication(p,a,b) (p)->lpVtbl->RegisterLaunchApplication(p,a,b)
145#define IStillImage_UnregisterLaunchApplication(p,a) (p)->lpVtbl->UnregisterLaunchApplication(p,a)
146#define IStillImage_EnableHwNotifications(p,a,b) (p)->lpVtbl->EnableHwNotifications(p,a,b)
147#define IStillImage_GetHwNotificationState(p,a,b) (p)->lpVtbl->GetHwNotificationState(p,a,b)
148#define IStillImage_RefreshDeviceBus(p,a) (p)->lpVtbl->RefreshDeviceBus(p,a)
149#define IStillImage_LaunchApplicationForDevice(p,a,b,c) (p)->lpVtbl->LaunchApplicationForDevice(p,a,b,c)
150#define IStillImage_SetupDeviceParameters(p,a) (p)->lpVtbl->SetupDeviceParameters(p,a)
151#define IStillImage_WriteToErrorLog(p,a,b) (p)->lpVtbl->WriteToErrorLog(p,a,b)
154#define IStillImage_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
155#define IStillImage_AddRef(p) (p)->AddRef()
156#define IStillImage_Release(p) (p)->Release()
158#define IStillImage_Initialize(p,a,b) (p)->Initialize(a,b)
159#define IStillImage_GetDeviceList(p,a,b,c,d) (p)->GetDeviceList(a,b,c,d)
160#define IStillImage_GetDeviceInfo(p,a,b) (p)->GetDeviceInfo(a,b)
161#define IStillImage_CreateDevice(p,a,b,c,d) (p)->CreateDevice(a,b,c,d)
162#define IStillImage_GetDeviceValue(p,a,b,c,d,e) (p)->GetDeviceValue(a,b,c,d,e)
163#define IStillImage_SetDeviceValue(p,a,b,c,d,e) (p)->SetDeviceValue(a,b,c,d,e)
164#define IStillImage_GetSTILaunchInformation(p,a,b,c) (p)->GetSTILaunchInformation(a,b,c)
165#define IStillImage_RegisterLaunchApplication(p,a,b) (p)->RegisterLaunchApplication(a,b)
166#define IStillImage_UnregisterLaunchApplication(p,a) (p)->UnregisterLaunchApplication(a)
167#define IStillImage_EnableHwNotifications(p,a,b) (p)->EnableHwNotifications(a,b)
168#define IStillImage_GetHwNotificationState(p,a,b) (p)->GetHwNotificationState(a,b)
169#define IStillImage_RefreshDeviceBus(p,a) (p)->RefreshDeviceBus(a)
170#define IStillImage_LaunchApplicationForDevice(p,a,b,c) (p)->LaunchApplicationForDevice(a,b,c)
171#define IStillImage_SetupDeviceParameters(p,a) (p)->SetupDeviceParameters(a)
172#define IStillImage_WriteToErrorLog(p,a,b) (p)->WriteToErrorLog(a,b)
#define DECLARE_INTERFACE_(i, b)
NTSTATUS GetDeviceInfo(_In_opt_ PCWSTR DeviceName, _In_opt_ HANDLE DeviceHandle, _Out_ PFILE_FS_DEVICE_INFORMATION DeviceInfo)
GLuint GLuint GLsizei GLenum type
static HRESULT QueryInterface(REFIID, void **)
static ULONG WINAPI AddRef(IStream *iface)
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
#define MAX_NOTIFICATION_DATA
struct IStiDeviceW * PSTIDEVICEW
struct IStillImageW * PSTIW
struct IStillImageA * PSTIA
HRESULT WINAPI StiCreateInstanceA(HINSTANCE hinst, DWORD dwVer, PSTIA *ppSti, LPUNKNOWN pUnkOuter)
HRESULT WINAPI StiCreateInstanceW(HINSTANCE hinst, DWORD dwVer, PSTIW *ppSti, LPUNKNOWN pUnkOuter)
struct IStiDeviceA * PSTIDEVICEA
#define STI_MAX_INTERNAL_NAME_LENGTH
@ StiDeviceTypeStreamingVideo
@ StiDeviceTypeDigitalCamera
struct _STINOTIFY * LPSTINOTIFY
struct _STI_DEV_CAPS * PSTI_DEV_CAPS
STI_DEVICE_INFORMATIONW STI_DEVICE_INFORMATION
struct _STINOTIFY STINOTIFY
struct _STI_DEV_CAPS STI_DEV_CAPS
struct _STI_DEVICE_INFORMATIONW * PSTI_DEVICE_INFORMATIONW
enum _STI_DEVICE_MJ_TYPE STI_DEVICE_MJ_TYPE
struct IStillImageA * LPSTILLIMAGEA
struct IStillImageW * LPSTILLIMAGEW
struct _STI_DEVICE_INFORMATIONW STI_DEVICE_INFORMATIONW
PSTI_DEVICE_INFORMATIONW PSTI_DEVICE_INFORMATION
BYTE abNotificationData[MAX_NOTIFICATION_DATA]
GUID guidNotificationCode
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR pwszDeviceName
#define DECL_WINELIB_TYPE_AW(type)