Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Removes a developer license.
Syntax
HRESULT RemoveDeveloperLicense(
[in, optional] HWND hwndParent
);
Parameters
[in, optional] hwndParent
The handler to the parent window.
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). |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | wsdevlicensing.h |
| Library | wsclient.lib |
| DLL | WSClient.dll |