Bewerken

Delen via


IStiUSD::UnLockDevice method (stiusd.h)

A still image minidriver's IStiUSD::UnLockDevice method unlocks a device that was locked by a previous call to IStiUSD::LockDevice.

Syntax

HRESULT UnLockDevice();

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

If a driver's IStiUSD::LockDevice method called CreateFile, then IStiUSD::UnlockDevice should call CloseHandle.

Requirements

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

See also

IStiDevice::UnLockDevice

IStiUSD