39 L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StillImage\\Registered Applications";
58 return IUnknown_QueryInterface(
This->outer_unk,
riid, ppvObject);
64 return IUnknown_AddRef(
This->outer_unk);
70 return IUnknown_Release(
This->outer_unk);
84 FIXME(
"(%p, %lu, 0x%lX, %p, %p): stub\n",
This, dwType,
dwFlags, pdwItemsReturned, ppBuffer);
127 pdwEventCode, pwszEventName);
134 static const WCHAR commandLineSuffix[] =
L"/StiDevice:%1 /StiEvent:%2";
196 BOOL *pbCurrentState)
222 FIXME(
"(%p, %p): stub\n",
This, pDevInfo);
269 *ppvObject = &
This->IStillImageW_iface;
273 FIXME(
"interface IStillImageA is unsupported on Windows Vista too, please report if it's needed\n");
280 IUnknown_AddRef((
IUnknown*) *ppvObject);
313 FIXME(
"(%p, %lu, %p, %p): stub, unimplemented on Windows Vista too, please report if it's needed\n",
hinst, dwVer, ppSti, pUnkOuter);
325 TRACE(
"(%p, %lu, %p, %p)\n",
hinst, dwVer, ppSti, pUnkOuter);
333 This->outer_unk = pUnkOuter;
335 This->outer_unk = &
This->IUnknown_inner;
342 *ppSti = (IStillImageW*) &
This->IUnknown_inner;
344 *ppSti = &
This->IStillImageW_iface;
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define RegCloseKey(hKey)
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegDeleteValueW(HKEY hKey, LPCWSTR lpValueName)
LONG WINAPI RegCreateKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
#define HeapFree(x, y, z)
static HRESULT WINAPI stillimagew_GetSTILaunchInformation(IStillImageW *iface, LPWSTR pwszDeviceName, DWORD *pdwEventCode, LPWSTR pwszEventName)
static HRESULT WINAPI stillimagew_GetHwNotificationState(IStillImageW *iface, LPCWSTR pwszDeviceName, BOOL *pbCurrentState)
static ULONG WINAPI stillimagew_AddRef(IStillImageW *iface)
static ULONG WINAPI Internal_AddRef(IUnknown *iface)
static HRESULT WINAPI stillimagew_RefreshDeviceBus(IStillImageW *iface, LPCWSTR pwszDeviceName)
HRESULT WINAPI StiCreateInstanceA(HINSTANCE hinst, DWORD dwVer, PSTIA *ppSti, LPUNKNOWN pUnkOuter)
HRESULT WINAPI StiCreateInstanceW(HINSTANCE hinst, DWORD dwVer, PSTIW *ppSti, LPUNKNOWN pUnkOuter)
static HRESULT WINAPI Internal_QueryInterface(IUnknown *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI stillimagew_UnregisterLaunchApplication(IStillImageW *iface, LPWSTR pwszAppName)
static HRESULT WINAPI stillimagew_RegisterLaunchApplication(IStillImageW *iface, LPWSTR pwszAppName, LPWSTR pwszCommandLine)
static const struct IStillImageWVtbl stillimagew_vtbl
static HRESULT WINAPI stillimagew_GetDeviceList(IStillImageW *iface, DWORD dwType, DWORD dwFlags, DWORD *pdwItemsReturned, LPVOID *ppBuffer)
static const WCHAR registeredAppsLaunchPath[]
static stillimage * impl_from_IStillImageW(IStillImageW *iface)
static HRESULT WINAPI stillimagew_CreateDevice(IStillImageW *iface, LPWSTR pwszDeviceName, DWORD dwMode, PSTIDEVICEW *pDevice, LPUNKNOWN pUnkOuter)
static HRESULT WINAPI stillimagew_LaunchApplicationForDevice(IStillImageW *iface, LPWSTR pwszDeviceName, LPWSTR pwszAppName, LPSTINOTIFY pStiNotify)
struct _stillimage stillimage
static HRESULT WINAPI stillimagew_QueryInterface(IStillImageW *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI stillimagew_Release(IStillImageW *iface)
static HRESULT WINAPI stillimagew_SetupDeviceParameters(IStillImageW *iface, PSTI_DEVICE_INFORMATIONW pDevInfo)
static HRESULT WINAPI stillimagew_Initialize(IStillImageW *iface, HINSTANCE hinst, DWORD dwVersion)
static HRESULT WINAPI stillimagew_SetDeviceValue(IStillImageW *iface, LPWSTR pwszDeviceName, LPWSTR pValueName, DWORD type, LPBYTE pData, DWORD cbData)
static HRESULT WINAPI stillimagew_WriteToErrorLog(IStillImageW *iface, DWORD dwMessageType, LPCWSTR pszMessage)
static HRESULT WINAPI stillimagew_EnableHwNotifications(IStillImageW *iface, LPCWSTR pwszDeviceName, BOOL bNewState)
static HRESULT WINAPI stillimagew_GetDeviceValue(IStillImageW *iface, LPWSTR pwszDeviceName, LPWSTR pValueName, LPDWORD pType, LPBYTE pData, LPDWORD cbData)
static ULONG WINAPI Internal_Release(IUnknown *iface)
static HRESULT WINAPI stillimagew_GetDeviceInfo(IStillImageW *iface, LPWSTR pwszDeviceName, LPVOID *ppBuffer)
static stillimage * impl_from_IUnknown(IUnknown *iface)
static const struct IUnknownVtbl internal_unk_vtbl
GLuint GLuint GLsizei GLenum type
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
#define IsEqualGUID(rguid1, rguid2)
_In_opt_ _In_opt_ _In_ _In_ DWORD cbData
struct IStiDeviceW * PSTIDEVICEW
struct IStillImageW * PSTIW
struct IStillImageA * PSTIA
#define IStillImage_Initialize(p, a, b)
IStillImageW IStillImageW_iface
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
#define CONTAINING_RECORD(address, type, field)
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR pwszDeviceName
static HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define STG_E_UNIMPLEMENTEDFUNCTION
#define HKEY_LOCAL_MACHINE