Notice:This is preliminary documentation for technology that will be supported in future releases of Microsoft Windows.
The LSEnumProviders function returns a unique string for each installed license system service provider.
LS_STATUS_CODE LS_API_ENTRY LSEnumProviders(
LS_ULONG Index, |
// index of the service provider |
LS_STR *Buffer |
// pointer to string identifying the service provider |
); |
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_INDEX |
An invalid index was specified in a call to the LSEnumProviders or the LSQuery function. |
LS_BUFFER_TOO_SMALL |
The buffer that the Buffer parameter points to is too small to accommodate the text string to be returned; or the challenge data structure is too small to accommodate the challenge response. |
The LSEnumProviders function returns a unique string for each installed provider. The unique null-terminated string typically identifies the vendor, product, and version of the license system. This value is the same as the one returned by an appropriate call to the LSQuery function. In a networked environment, it returns the version of the client, not the server.
An application can enumerate the installed license system service providers by calling LSEnumProviders successively. The value specified in the Index parameter is passed in and the calling application should increment it in each call until it returns the LS_BAD_INDEX status code. This code indicates that the value of the Index parameter is higher than the number of providers currently installed.
file: /Techref/os/win/api/win32/func/src/f55_13.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/10 04:50,
3.146.152.23:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://linistepper.com/Techref/os/win/api/win32/func/src/f55_13.htm"> LSEnumProviders</A> |
Did you find what you needed? |