ReactOS 0.4.17-dev-934-g091855f
sti.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "winerror.h"
#include "objbase.h"
#include "sti.h"
#include "wine/debug.h"
Include dependency graph for sti.c:

Go to the source code of this file.

Classes

struct  _stillimage
 

Macros

#define COBJMACROS
 

Typedefs

typedef struct _stillimage stillimage
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (sti)
 
static stillimage * impl_from_IStillImageW (IStillImageW *iface)
 
static HRESULT WINAPI stillimagew_QueryInterface (IStillImageW *iface, REFIID riid, void **ppvObject)
 
static ULONG WINAPI stillimagew_AddRef (IStillImageW *iface)
 
static ULONG WINAPI stillimagew_Release (IStillImageW *iface)
 
static HRESULT WINAPI stillimagew_Initialize (IStillImageW *iface, HINSTANCE hinst, DWORD dwVersion)
 
static HRESULT WINAPI stillimagew_GetDeviceList (IStillImageW *iface, DWORD dwType, DWORD dwFlags, DWORD *pdwItemsReturned, LPVOID *ppBuffer)
 
static HRESULT WINAPI stillimagew_GetDeviceInfo (IStillImageW *iface, LPWSTR pwszDeviceName, LPVOID *ppBuffer)
 
static HRESULT WINAPI stillimagew_CreateDevice (IStillImageW *iface, LPWSTR pwszDeviceName, DWORD dwMode, PSTIDEVICEW *pDevice, LPUNKNOWN pUnkOuter)
 
static HRESULT WINAPI stillimagew_GetDeviceValue (IStillImageW *iface, LPWSTR pwszDeviceName, LPWSTR pValueName, LPDWORD pType, LPBYTE pData, LPDWORD cbData)
 
static HRESULT WINAPI stillimagew_SetDeviceValue (IStillImageW *iface, LPWSTR pwszDeviceName, LPWSTR pValueName, DWORD type, LPBYTE pData, DWORD cbData)
 
static HRESULT WINAPI stillimagew_GetSTILaunchInformation (IStillImageW *iface, LPWSTR pwszDeviceName, DWORD *pdwEventCode, LPWSTR pwszEventName)
 
static HRESULT WINAPI stillimagew_RegisterLaunchApplication (IStillImageW *iface, LPWSTR pwszAppName, LPWSTR pwszCommandLine)
 
static HRESULT WINAPI stillimagew_UnregisterLaunchApplication (IStillImageW *iface, LPWSTR pwszAppName)
 
static HRESULT WINAPI stillimagew_EnableHwNotifications (IStillImageW *iface, LPCWSTR pwszDeviceName, BOOL bNewState)
 
static HRESULT WINAPI stillimagew_GetHwNotificationState (IStillImageW *iface, LPCWSTR pwszDeviceName, BOOL *pbCurrentState)
 
static HRESULT WINAPI stillimagew_RefreshDeviceBus (IStillImageW *iface, LPCWSTR pwszDeviceName)
 
static HRESULT WINAPI stillimagew_LaunchApplicationForDevice (IStillImageW *iface, LPWSTR pwszDeviceName, LPWSTR pwszAppName, LPSTINOTIFY pStiNotify)
 
static HRESULT WINAPI stillimagew_SetupDeviceParameters (IStillImageW *iface, PSTI_DEVICE_INFORMATIONW pDevInfo)
 
static HRESULT WINAPI stillimagew_WriteToErrorLog (IStillImageW *iface, DWORD dwMessageType, LPCWSTR pszMessage)
 
static stillimage * impl_from_IUnknown (IUnknown *iface)
 
static HRESULT WINAPI Internal_QueryInterface (IUnknown *iface, REFIID riid, void **ppvObject)
 
static ULONG WINAPI Internal_AddRef (IUnknown *iface)
 
static ULONG WINAPI Internal_Release (IUnknown *iface)
 
HRESULT WINAPI StiCreateInstanceA (HINSTANCE hinst, DWORD dwVer, PSTIA *ppSti, LPUNKNOWN pUnkOuter)
 
HRESULT WINAPI StiCreateInstanceW (HINSTANCE hinst, DWORD dwVer, PSTIW *ppSti, LPUNKNOWN pUnkOuter)
 

Variables

static const WCHAR registeredAppsLaunchPath []
 
static const struct IStillImageWVtbl stillimagew_vtbl
 
static const struct IUnknownVtbl internal_unk_vtbl
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 25 of file sti.c.

Typedef Documentation

◆ stillimage

Function Documentation

◆ impl_from_IStillImageW()

◆ impl_from_IUnknown()

static stillimage * impl_from_IUnknown ( IUnknown *  iface)
inlinestatic

Definition at line 255 of file sti.c.

256{
257 return CONTAINING_RECORD(iface, stillimage, IUnknown_inner);
258}

Referenced by Internal_AddRef(), Internal_QueryInterface(), and Internal_Release().

◆ Internal_AddRef()

static ULONG WINAPI Internal_AddRef ( IUnknown *  iface)
static

Definition at line 284 of file sti.c.

285{
287 return InterlockedIncrement(&This->ref);
288}
#define InterlockedIncrement
Definition: armddk.h:53
static stillimage * impl_from_IUnknown(IUnknown *iface)
Definition: sti.c:255

◆ Internal_QueryInterface()

static HRESULT WINAPI Internal_QueryInterface ( IUnknown *  iface,
REFIID  riid,
void **  ppvObject 
)
static

Definition at line 260 of file sti.c.

261{
263
264 TRACE("(%p %s %p)\n", This, debugstr_guid(riid), ppvObject);
265
267 *ppvObject = iface;
268 else if (IsEqualGUID(riid, &IID_IStillImageW))
269 *ppvObject = &This->IStillImageW_iface;
270 else
271 {
272 if (IsEqualGUID(riid, &IID_IStillImageA))
273 FIXME("interface IStillImageA is unsupported on Windows Vista too, please report if it's needed\n");
274 else
275 FIXME("interface %s not implemented\n", debugstr_guid(riid));
276 *ppvObject = NULL;
277 return E_NOINTERFACE;
278 }
279
280 IUnknown_AddRef((IUnknown*) *ppvObject);
281 return S_OK;
282}
#define FIXME(fmt,...)
Definition: precomp.h:53
const GUID IID_IUnknown
#define NULL
Definition: types.h:112
REFIID riid
Definition: atlbase.h:39
#define S_OK
Definition: intsafe.h:52
#define debugstr_guid
Definition: kernel32.h:35
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define TRACE(s)
Definition: solgame.cpp:4
#define E_NOINTERFACE
Definition: winerror.h:3479

◆ Internal_Release()

static ULONG WINAPI Internal_Release ( IUnknown *  iface)
static

Definition at line 290 of file sti.c.

291{
292 ULONG ref;
294
296 if (ref == 0)
298 return ref;
299}
#define InterlockedDecrement
Definition: armddk.h:52
#define GetProcessHeap()
Definition: compat.h:736
#define HeapFree(x, y, z)
Definition: compat.h:735
Definition: send.c:48
uint32_t ULONG
Definition: typedefs.h:59

◆ StiCreateInstanceA()

HRESULT WINAPI StiCreateInstanceA ( HINSTANCE  hinst,
DWORD  dwVer,
PSTIA *  ppSti,
LPUNKNOWN  pUnkOuter 
)

Definition at line 311 of file sti.c.

312{
313 FIXME("(%p, %lu, %p, %p): stub, unimplemented on Windows Vista too, please report if it's needed\n", hinst, dwVer, ppSti, pUnkOuter);
315}
static HINSTANCE hinst
Definition: edit.c:551
#define STG_E_UNIMPLEMENTEDFUNCTION
Definition: winerror.h:3682

Referenced by sti_create().

◆ StiCreateInstanceW()

HRESULT WINAPI StiCreateInstanceW ( HINSTANCE  hinst,
DWORD  dwVer,
PSTIW *  ppSti,
LPUNKNOWN  pUnkOuter 
)

Definition at line 320 of file sti.c.

321{
323 HRESULT hr;
324
325 TRACE("(%p, %lu, %p, %p)\n", hinst, dwVer, ppSti, pUnkOuter);
326
328 if (This)
329 {
330 This->IStillImageW_iface.lpVtbl = &stillimagew_vtbl;
331 This->IUnknown_inner.lpVtbl = &internal_unk_vtbl;
332 if (pUnkOuter)
333 This->outer_unk = pUnkOuter;
334 else
335 This->outer_unk = &This->IUnknown_inner;
336 This->ref = 1;
337
338 hr = IStillImage_Initialize(&This->IStillImageW_iface, hinst, dwVer);
339 if (SUCCEEDED(hr))
340 {
341 if (pUnkOuter)
342 *ppSti = (IStillImageW*) &This->IUnknown_inner;
343 else
344 *ppSti = &This->IStillImageW_iface;
345 }
346 }
347 else
349
350 return hr;
351}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
HRESULT hr
Definition: delayimp.cpp:582
#define HeapAlloc
Definition: compat.h:733
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
static const struct IStillImageWVtbl stillimagew_vtbl
Definition: sti.c:233
static const struct IUnknownVtbl internal_unk_vtbl
Definition: sti.c:301
#define SUCCEEDED(hr)
Definition: intsafe.h:50
#define IStillImage_Initialize(p, a, b)
Definition: sti.h:137

Referenced by sti_create().

◆ stillimagew_AddRef()

static ULONG WINAPI stillimagew_AddRef ( IStillImageW *  iface)
static

Definition at line 61 of file sti.c.

62{
64 return IUnknown_AddRef(This->outer_unk);
65}
static stillimage * impl_from_IStillImageW(IStillImageW *iface)
Definition: sti.c:49

◆ stillimagew_CreateDevice()

static HRESULT WINAPI stillimagew_CreateDevice ( IStillImageW *  iface,
LPWSTR  pwszDeviceName,
DWORD  dwMode,
PSTIDEVICEW *  pDevice,
LPUNKNOWN  pUnkOuter 
)
static

Definition at line 96 of file sti.c.

98{
100 FIXME("(%p, %s, %lu, %p, %p): stub\n", This, debugstr_w(pwszDeviceName), dwMode, pDevice, pUnkOuter);
101 return E_NOTIMPL;
102}
#define E_NOTIMPL
Definition: ddrawi.h:99
FxDevice * pDevice
#define debugstr_w
Definition: kernel32.h:32
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR pwszDeviceName
Definition: winddi.h:3556

◆ stillimagew_EnableHwNotifications()

static HRESULT WINAPI stillimagew_EnableHwNotifications ( IStillImageW *  iface,
LPCWSTR  pwszDeviceName,
BOOL  bNewState 
)
static

Definition at line 187 of file sti.c.

189{
191 FIXME("(%p, %s, %u): stub\n", This, debugstr_w(pwszDeviceName), bNewState);
192 return E_NOTIMPL;
193}

◆ stillimagew_GetDeviceInfo()

static HRESULT WINAPI stillimagew_GetDeviceInfo ( IStillImageW *  iface,
LPWSTR  pwszDeviceName,
LPVOID *  ppBuffer 
)
static

Definition at line 88 of file sti.c.

90{
92 FIXME("(%p, %s, %p): stub\n", This, debugstr_w(pwszDeviceName), ppBuffer);
93 return E_NOTIMPL;
94}

◆ stillimagew_GetDeviceList()

static HRESULT WINAPI stillimagew_GetDeviceList ( IStillImageW *  iface,
DWORD  dwType,
DWORD  dwFlags,
DWORD *  pdwItemsReturned,
LPVOID *  ppBuffer 
)
static

Definition at line 80 of file sti.c.

82{
84 FIXME("(%p, %lu, 0x%lX, %p, %p): stub\n", This, dwType, dwFlags, pdwItemsReturned, ppBuffer);
85 return E_NOTIMPL;
86}
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
Definition: netsh.h:141

◆ stillimagew_GetDeviceValue()

static HRESULT WINAPI stillimagew_GetDeviceValue ( IStillImageW *  iface,
LPWSTR  pwszDeviceName,
LPWSTR  pValueName,
LPDWORD  pType,
LPBYTE  pData,
LPDWORD  cbData 
)
static

Definition at line 104 of file sti.c.

106{
108 FIXME("(%p, %s, %s, %p, %p, %p): stub\n", This, debugstr_w(pwszDeviceName), debugstr_w(pValueName),
109 pType, pData, cbData);
110 return E_NOTIMPL;
111}
_In_opt_ _In_opt_ _In_ _In_ DWORD cbData
Definition: shlwapi.h:761
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1830

◆ stillimagew_GetHwNotificationState()

static HRESULT WINAPI stillimagew_GetHwNotificationState ( IStillImageW *  iface,
LPCWSTR  pwszDeviceName,
BOOL *  pbCurrentState 
)
static

Definition at line 195 of file sti.c.

197{
199 FIXME("(%p, %s, %p): stub\n", This, debugstr_w(pwszDeviceName), pbCurrentState);
200 return E_NOTIMPL;
201}

◆ stillimagew_GetSTILaunchInformation()

static HRESULT WINAPI stillimagew_GetSTILaunchInformation ( IStillImageW *  iface,
LPWSTR  pwszDeviceName,
DWORD *  pdwEventCode,
LPWSTR  pwszEventName 
)
static

Definition at line 122 of file sti.c.

124{
126 FIXME("(%p, %p, %p, %p): stub\n", This, pwszDeviceName,
127 pdwEventCode, pwszEventName);
128 return E_NOTIMPL;
129}

◆ stillimagew_Initialize()

static HRESULT WINAPI stillimagew_Initialize ( IStillImageW *  iface,
HINSTANCE  hinst,
DWORD  dwVersion 
)
static

Definition at line 73 of file sti.c.

74{
76 TRACE("(%p, %p, 0x%lX)\n", This, hinst, dwVersion);
77 return S_OK;
78}
_In_ DWORD dwVersion
Definition: netsh.h:85

◆ stillimagew_LaunchApplicationForDevice()

static HRESULT WINAPI stillimagew_LaunchApplicationForDevice ( IStillImageW *  iface,
LPWSTR  pwszDeviceName,
LPWSTR  pwszAppName,
LPSTINOTIFY  pStiNotify 
)
static

Definition at line 210 of file sti.c.

212{
214 FIXME("(%p, %s, %s, %p): stub\n", This, debugstr_w(pwszDeviceName), debugstr_w(pwszAppName),
215 pStiNotify);
216 return E_NOTIMPL;
217}

◆ stillimagew_QueryInterface()

static HRESULT WINAPI stillimagew_QueryInterface ( IStillImageW *  iface,
REFIID  riid,
void **  ppvObject 
)
static

Definition at line 54 of file sti.c.

55{
57 TRACE("(%p %s %p)\n", This, debugstr_guid(riid), ppvObject);
58 return IUnknown_QueryInterface(This->outer_unk, riid, ppvObject);
59}

◆ stillimagew_RefreshDeviceBus()

static HRESULT WINAPI stillimagew_RefreshDeviceBus ( IStillImageW *  iface,
LPCWSTR  pwszDeviceName 
)
static

Definition at line 203 of file sti.c.

204{
206 FIXME("(%p, %s): stub\n", This, debugstr_w(pwszDeviceName));
207 return E_NOTIMPL;
208}

◆ stillimagew_RegisterLaunchApplication()

static HRESULT WINAPI stillimagew_RegisterLaunchApplication ( IStillImageW *  iface,
LPWSTR  pwszAppName,
LPWSTR  pwszCommandLine 
)
static

Definition at line 131 of file sti.c.

133{
134 static const WCHAR commandLineSuffix[] = L"/StiDevice:%1 /StiEvent:%2";
135 HKEY registeredAppsKey = NULL;
136 DWORD ret;
137 HRESULT hr = S_OK;
139
140 TRACE("(%p, %s, %s)\n", This, debugstr_w(pwszAppName), debugstr_w(pwszCommandLine));
141
143 if (ret == ERROR_SUCCESS)
144 {
145 size_t len = lstrlenW(pwszCommandLine) + 1 + lstrlenW(commandLineSuffix) + 1;
146 WCHAR *value = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR));
147 if (value)
148 {
149 swprintf(value, len, L"%s %s", pwszCommandLine, commandLineSuffix);
150 ret = RegSetValueExW(registeredAppsKey, pwszAppName, 0,
151 REG_SZ, (BYTE*)value, (lstrlenW(value)+1)*sizeof(WCHAR));
152 if (ret != ERROR_SUCCESS)
155 }
156 else
158 RegCloseKey(registeredAppsKey);
159 }
160 else
162 return hr;
163}
#define REG_SZ
Definition: layer.c:22
#define RegCloseKey(hKey)
Definition: registry.h:49
#define ERROR_SUCCESS
Definition: deptool.c:10
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
Definition: reg.c:4882
LONG WINAPI RegCreateKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
Definition: reg.c:1201
#define lstrlenW
Definition: compat.h:750
static const WCHAR registeredAppsLaunchPath[]
Definition: sti.c:38
#define swprintf
Definition: precomp.h:40
return ret
Definition: mutex.c:147
#define L(x)
Definition: resources.c:13
unsigned long DWORD
Definition: ntddk_ex.h:95
GLenum GLsizei len
Definition: glext.h:6722
short WCHAR
Definition: pedump.c:58
Definition: pdh_main.c:64
static HRESULT HRESULT_FROM_WIN32(unsigned int x)
Definition: winerror.h:210
#define HKEY_LOCAL_MACHINE
Definition: winreg.h:12
unsigned char BYTE
Definition: xxhash.c:193

◆ stillimagew_Release()

static ULONG WINAPI stillimagew_Release ( IStillImageW *  iface)
static

Definition at line 67 of file sti.c.

68{
70 return IUnknown_Release(This->outer_unk);
71}

◆ stillimagew_SetDeviceValue()

static HRESULT WINAPI stillimagew_SetDeviceValue ( IStillImageW *  iface,
LPWSTR  pwszDeviceName,
LPWSTR  pValueName,
DWORD  type,
LPBYTE  pData,
DWORD  cbData 
)
static

Definition at line 113 of file sti.c.

115{
117 FIXME("(%p, %s, %s, %lu, %p, %lu): stub\n", This, debugstr_w(pwszDeviceName), debugstr_w(pValueName),
118 type, pData, cbData);
119 return E_NOTIMPL;
120}
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545

◆ stillimagew_SetupDeviceParameters()

static HRESULT WINAPI stillimagew_SetupDeviceParameters ( IStillImageW *  iface,
PSTI_DEVICE_INFORMATIONW  pDevInfo 
)
static

Definition at line 219 of file sti.c.

220{
222 FIXME("(%p, %p): stub\n", This, pDevInfo);
223 return E_NOTIMPL;
224}

◆ stillimagew_UnregisterLaunchApplication()

static HRESULT WINAPI stillimagew_UnregisterLaunchApplication ( IStillImageW *  iface,
LPWSTR  pwszAppName 
)
static

Definition at line 165 of file sti.c.

166{
168 HKEY registeredAppsKey = NULL;
169 DWORD ret;
170 HRESULT hr = S_OK;
171
172 TRACE("(%p, %s)\n", This, debugstr_w(pwszAppName));
173
175 if (ret == ERROR_SUCCESS)
176 {
177 ret = RegDeleteValueW(registeredAppsKey, pwszAppName);
178 if (ret != ERROR_SUCCESS)
180 RegCloseKey(registeredAppsKey);
181 }
182 else
184 return hr;
185}
LONG WINAPI RegDeleteValueW(HKEY hKey, LPCWSTR lpValueName)
Definition: reg.c:2330

◆ stillimagew_WriteToErrorLog()

static HRESULT WINAPI stillimagew_WriteToErrorLog ( IStillImageW *  iface,
DWORD  dwMessageType,
LPCWSTR  pszMessage 
)
static

Definition at line 226 of file sti.c.

227{
229 FIXME("(%p, %lu, %s): stub\n", This, dwMessageType, debugstr_w(pszMessage));
230 return E_NOTIMPL;
231}

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( sti  )

Variable Documentation

◆ internal_unk_vtbl

const struct IUnknownVtbl internal_unk_vtbl
static
Initial value:
=
{
}
static ULONG WINAPI Internal_AddRef(IUnknown *iface)
Definition: sti.c:284
static HRESULT WINAPI Internal_QueryInterface(IUnknown *iface, REFIID riid, void **ppvObject)
Definition: sti.c:260
static ULONG WINAPI Internal_Release(IUnknown *iface)
Definition: sti.c:290

Definition at line 301 of file sti.c.

Referenced by StiCreateInstanceW().

◆ registeredAppsLaunchPath

const WCHAR registeredAppsLaunchPath[]
static
Initial value:
=
L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StillImage\\Registered Applications"

Definition at line 38 of file sti.c.

Referenced by stillimagew_RegisterLaunchApplication(), and stillimagew_UnregisterLaunchApplication().

◆ stillimagew_vtbl

const struct IStillImageWVtbl stillimagew_vtbl
static
Initial value:
=
{
}
static HRESULT WINAPI stillimagew_GetSTILaunchInformation(IStillImageW *iface, LPWSTR pwszDeviceName, DWORD *pdwEventCode, LPWSTR pwszEventName)
Definition: sti.c:122
static HRESULT WINAPI stillimagew_GetHwNotificationState(IStillImageW *iface, LPCWSTR pwszDeviceName, BOOL *pbCurrentState)
Definition: sti.c:195
static ULONG WINAPI stillimagew_AddRef(IStillImageW *iface)
Definition: sti.c:61
static HRESULT WINAPI stillimagew_RefreshDeviceBus(IStillImageW *iface, LPCWSTR pwszDeviceName)
Definition: sti.c:203
static HRESULT WINAPI stillimagew_UnregisterLaunchApplication(IStillImageW *iface, LPWSTR pwszAppName)
Definition: sti.c:165
static HRESULT WINAPI stillimagew_RegisterLaunchApplication(IStillImageW *iface, LPWSTR pwszAppName, LPWSTR pwszCommandLine)
Definition: sti.c:131
static HRESULT WINAPI stillimagew_GetDeviceList(IStillImageW *iface, DWORD dwType, DWORD dwFlags, DWORD *pdwItemsReturned, LPVOID *ppBuffer)
Definition: sti.c:80
static HRESULT WINAPI stillimagew_CreateDevice(IStillImageW *iface, LPWSTR pwszDeviceName, DWORD dwMode, PSTIDEVICEW *pDevice, LPUNKNOWN pUnkOuter)
Definition: sti.c:96
static HRESULT WINAPI stillimagew_LaunchApplicationForDevice(IStillImageW *iface, LPWSTR pwszDeviceName, LPWSTR pwszAppName, LPSTINOTIFY pStiNotify)
Definition: sti.c:210
static HRESULT WINAPI stillimagew_QueryInterface(IStillImageW *iface, REFIID riid, void **ppvObject)
Definition: sti.c:54
static ULONG WINAPI stillimagew_Release(IStillImageW *iface)
Definition: sti.c:67
static HRESULT WINAPI stillimagew_SetupDeviceParameters(IStillImageW *iface, PSTI_DEVICE_INFORMATIONW pDevInfo)
Definition: sti.c:219
static HRESULT WINAPI stillimagew_Initialize(IStillImageW *iface, HINSTANCE hinst, DWORD dwVersion)
Definition: sti.c:73
static HRESULT WINAPI stillimagew_SetDeviceValue(IStillImageW *iface, LPWSTR pwszDeviceName, LPWSTR pValueName, DWORD type, LPBYTE pData, DWORD cbData)
Definition: sti.c:113
static HRESULT WINAPI stillimagew_WriteToErrorLog(IStillImageW *iface, DWORD dwMessageType, LPCWSTR pszMessage)
Definition: sti.c:226
static HRESULT WINAPI stillimagew_EnableHwNotifications(IStillImageW *iface, LPCWSTR pwszDeviceName, BOOL bNewState)
Definition: sti.c:187
static HRESULT WINAPI stillimagew_GetDeviceValue(IStillImageW *iface, LPWSTR pwszDeviceName, LPWSTR pValueName, LPDWORD pType, LPBYTE pData, LPDWORD cbData)
Definition: sti.c:104
static HRESULT WINAPI stillimagew_GetDeviceInfo(IStillImageW *iface, LPWSTR pwszDeviceName, LPVOID *ppBuffer)
Definition: sti.c:88

Definition at line 233 of file sti.c.

Referenced by StiCreateInstanceW().