UnlockPrinter¶
Description
Unlocks the access prohibition (lock) from other processes by LockPrinter.
Syntax
ErrorCode UnlockPrinter()
Return value
Returns an error code. See "Error Code List" for details of the error code.
Remarks
- When LockPrinter is called multiple times, this API must be called the same number of times as for LockPrinter in order to release the lock.