IStiUSD::GetCapabilities method (stiusd.h)

A still image minidriver's IStiUSD::GetCapabilities method returns a still image device's capabilities.

Syntax

HRESULT GetCapabilities(
  PSTI_USD_CAPS pDevCaps
);

Parameters

pDevCaps

Caller-supplied pointer to an empty STI_USD_CAPS structure.

Return value

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

Remarks

The IStiUSD::GetCapabilities method should set appropriate device capability flags in the caller-supplied STI_USD_CAPS structure. It should also set the version number to STI_VERSION.

Requirements

Requirement Value
Target Platform Desktop
Header stiusd.h (include Stiusd.h)

See also

IStiDevice::GetCapabilities

IStiUSD