IStillImage::GetHwNotificationState method

The IStillImage::GetHwNotificationState method indicates whether applications will be notified when Still Image Device Events occur on a specified device.

Syntax

HRESULT GetHwNotificationState(
  [in]  LPCWSTR pwszDeviceName,
  [out] BOOL    *pbCurrentState
);

Parameters

Return value

If the operation succeeds, the method returns S_OK. Otherwise, it returns one of the STIERR-prefixed error codes defined in stierr.h.

Remarks

Before calling IStillImage::GetHwNotificationState, clients of the IStillImage COM interface must call IStillImage::StiCreateInstance to obtain an IStillImage interface pointer.

Requirements

Target platform

Desktop

Header

Sti.h (include Sti.h)

See also

IStillImage::EnableHwNotifications

 

 

Send comments about this topic to Microsoft