Rise
The Vieneo Province
Loading...
Searching...
No Matches
isteamappticket.h
Go to the documentation of this file.
1//====== Copyright 1996-2008, Valve Corporation, All rights reserved. =======
2//
3// Purpose: a private, but well versioned, interface to get at critical bits
4// of a steam3 appticket - consumed by the simple drm wrapper to let it
5// ask about ownership with greater confidence.
6//
7//=============================================================================
8
9#ifndef ISTEAMAPPTICKET_H
10#define ISTEAMAPPTICKET_H
11#pragma once
12
13//-----------------------------------------------------------------------------
14// Purpose: hand out a reasonable "future proof" view of an app ownership ticket
15// the raw (signed) buffer, and indices into that buffer where the appid and
16// steamid are located. the sizes of the appid and steamid are implicit in
17// (each version of) the interface - currently uin32 appid and uint64 steamid
18//-----------------------------------------------------------------------------
20{
21public:
22 virtual uint32 GetAppOwnershipTicketData( uint32 nAppID, void *pvBuffer, uint32 cbBufferLength, uint32 *piAppId, uint32 *piSteamId, uint32 *piSignature, uint32 *pcbSignature ) = 0;
23};
24
25#define STEAMAPPTICKET_INTERFACE_VERSION "STEAMAPPTICKET_INTERFACE_VERSION001"
26
27
28#endif // ISTEAMAPPTICKET_H
virtual uint32 GetAppOwnershipTicketData(uint32 nAppID, void *pvBuffer, uint32 cbBufferLength, uint32 *piAppId, uint32 *piSteamId, uint32 *piSignature, uint32 *pcbSignature)=0
const char *typedef uint32(S_CALLTYPE *SteamAPI_CheckCallbackRegistered_t)(int iCallbackNum)