LSFreeHandle

Notice:This is preliminary documentation for technology that will be supported in future releases of Microsoft Windows.

The LSFreeHandle function frees the licensing handle context.

LS_VOID LS_API_ENTRY LSFreeHandle(
  LS_HANDLE  LicenseHandle  // handle to the license context
);
 

Parameter

LicenseHandle
[in] Specifies the handle to a license context that is no longer valid. This parameter must be a handle created with the LSRequest function.

Return Values

None.

Remarks

Call the LSFreeHandle function after calling the LSRelease function, or after LSRequest returns an error.

QuickInfo

  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in lsapi.h.
  Import Library: Use lsapi32.lib.

See Also

License Service Application Programming Interface Overview, LSAPI Functions, LSRelease, LSRequest