IStiDeviceControl::GetMyDeviceOpenMode method (stiusd.h)
The IStiDeviceControl::GetMyDeviceOpenMode method allows a still image minidriver to obtain the transfer mode that an application specified when it created an instance of a still image device.
Syntax
HRESULT GetMyDeviceOpenMode(
LPDWORD pdwOpenMode
);
Parameters
pdwOpenMode
Receives the mode flag that an application previously specified as the dwMode argument to IStillImage::CreateDevice.
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
A still image minidriver receives an IStiDeviceControl interface pointer as an input argument to its IStiUSD::Initialize method.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | stiusd.h (include Stiusd.h) |