Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TimeOfLastHeartbeatFailure modification
- Loading branch information
Showing
5 changed files
with
95 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#ifndef OHOOKSL_H | ||
#define OHOOKSL_H | ||
|
||
typedef GUID SLID; | ||
typedef void *HSLC; | ||
|
||
typedef struct { | ||
SLID SkuId; | ||
DWORD eStatus; | ||
DWORD dwGraceTime; | ||
DWORD dwTotalGraceDays; | ||
HRESULT hrReason; | ||
UINT64 qwValidityExpiration; | ||
} SL_LICENSING_STATUS; | ||
|
||
typedef enum { | ||
SL_DATA_NONE = REG_NONE, | ||
SL_DATA_SZ = REG_SZ, | ||
SL_DATA_DWORD = REG_DWORD, | ||
SL_DATA_BINARY = REG_BINARY, | ||
SL_DATA_MULTI_SZ, | ||
SL_DATA_SUM = 100 | ||
} SLDATATYPE; | ||
|
||
HRESULT WINAPI SLGetLicensingStatusInformation( | ||
HSLC hSLC, | ||
SLID *pAppID, | ||
SLID *pProductSkuId, | ||
PWSTR pwszRightName, | ||
UINT *pnStatusCount, | ||
SL_LICENSING_STATUS **ppLicensingStatus | ||
); | ||
|
||
HRESULT WINAPI SLGetProductSkuInformation( | ||
HSLC hSLC, | ||
const SLID *pProductSkuId, | ||
PCWSTR pwszValueName, | ||
SLDATATYPE *peDataType, | ||
UINT *pcbValue, | ||
PBYTE *ppbValue | ||
); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters