GDF(Game Definition File)라는 기능이 있습니다.
한마디로 게임물 등급제입니다. 미국의 경우 ESRB, PEGI 또는 기타 등급 체계에 따른 등급 및 설명자를 포함하도록 변경되었습니다.
한국은 게등위와 이야기 중이라고 합니다.
심플한 문제는 바이너리에서 이 부분은 당연히 bool 값을 크랙이 가능하더군요 ㅎㅎㅎ
아래는 관련 함수입니다.
IGameExplorer::VerifyAccess
Checks whether the user has permission to play the game in the specified GDF.
HRESULT VerifyAccess(
const BSTR bstrGDFBinaryPath,
BOOL* pfHasAccess
);
Parameters
bstrGDFBinaryPath
[in] A string that contains the fully qualified path of the binary that contains the game definition file (GDF). The GDF must be present in the default resource location.
pfHasAccess
[out] Whether the current game will be allowed to run for the current user, given the current parental controls settings.
Return Values
Returns an HRESULT. Use the SUCCEEDED and FAILED macros to test the return value of this function.
Remarks
This method does not require IGameExplorer::AddGame to be called, previously or at any other time. This method can be used at any time to verify whether the current user can run a binary file associated with a GDF.
Games should call this method every time that they are run. By doing so, parental controls work even for a game that was installed on a FAT32 volume, which does not support ACLs, to lock the user out of the game.
Requirements
Header: Declared in GameUX.h.
참조 자료
http://msdn2.microsoft.com/en-us/library/bb173436.aspx
http://msdn2.microsoft.com/en-us/library/bb206359.aspx
http://msdn2.microsoft.com/en-us/library/bb173459.aspx
testcode~
|