Бележка
Достъпът до тази страница изисква удостоверяване. Можете да опитате да влезете или да промените директориите.
Достъпът до тази страница изисква удостоверяване. Можете да опитате да промените директориите.
Checks to see if a developer license exists.
Syntax
HRESULT CheckDeveloperLicense(
[out] FILETIME *pExpiration
);
Parameters
[out] pExpiration
Indicates when the developer license expires.
Return value
Returns an HResult structure with any error codes that occurred.
Remarks
The following is a list of common error codes that this function returns:
| Error code | Description |
|---|---|
| S_OK | The function succeeded. |
| E_INVALIDARG | One or more arguments are invalid. |
| E_OUTOFMEMORY | Insufficient memory. |
| HRESULT_FROM_WIN32(ERROR_NOT_FOUND) | The license was not found. |
| HRESULT_FROM_WIN32(ERROR_NOT_AUTHENTICATED) | The call requires authentication. |
| HRESULT_FROM_WIN32(ERROR_NETWORK_UNREACHABLE) | The network can’t be reached. |
| HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED) | The caller doesn’t have access to the resource (license). |
| SEC_E_CONTEXT_EXPIRED | License is expired. |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | wsdevlicensing.h |
| Library | wsclient.lib |
| DLL | WSClient.dll |