Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 |