Notice:This is preliminary documentation for technology that will be supported in future releases of Microsoft Windows.
The LSRelease function requests that the license system release the licensing resources associated with the license context identified by the LicenseHandle parameter.
LS_STATUS_CODE LS_API_ENTRY LSRelease(
LS_HANDLE LicenseHandle, |
// handle to the license context |
LS_ULONG TotUnitsConsumed, |
// units consumed in this handle context |
LS_STR *LogComment |
// pointer to optional comment associated with the request |
); |
If the function succeeds, the return value is LS_SUCCESS.
If the function fails, the return value is a status code. For extended error information, call LSGetMessage to return the status text corresponding to the status code. The LSGetMessage function may return one of the following status codes:
Value |
Meaning |
LS_BAD_HANDLE |
The handle used on the call does not describe a valid licensing system context. |
LS_INSUFFICIENT_UNITS |
The licensing system cannot locate enough available licensing resources to complete the request. |
LS_NETWORK_UNAVAILABLE |
The network is unavailable. |
LS_BAD_ARG |
One or more of the arguments is incorrect. |
Use the LSRelease function to release licensing resources associated with the license context identified by the LicenseHandle parameter. If a policy that consumes licenses is in effect, and if you choose to implement such a license policy in the application, then you can pass the license units to be consumed in the TotUnitsConsumed parameter.
The LSRelease function does not free the license handle context. See the reference topic for LSFreeHandle.
LSFreeHandle, LSGetMessage, LSRequest
file: /Techref/os/win/api/win32/func/src/f55_17.htm, 5KB, , updated: 2000/4/7 11:19, local time: 2024/11/30 12:18,
3.145.59.89:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/os/win/api/win32/func/src/f55_17.htm"> LSRelease</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.