IStiDevice::UnLockDevice method (sti.h)
The IStiDevice::UnLockDevice method unlocks a device that was locked by a previous call to IStiDevice::LockDevice.
Syntax
HRESULT UnLockDevice();
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 the IStiDevice::UnLockDevice method releases the IStiDevice-level lock on the device, it calls IStiUSD::UnLockDevice in the appropriate vendor-supplied minidriver.
Before calling IStiDevice::UnLockDevice, clients of the IStiDevice COM interface must call IStillImage::CreateDevice to obtain an IStiDevice interface pointer, which provides access to a specified device.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | sti.h (include Sti.h) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for