Discussion:
Track Protection
Bibabutzemann
2003-05-25 09:12:04 UTC
Permalink
Hi,

I found something interresting in the NetMD.dll :

The function GetTrackInfo of IID_IOmgPmTrackList can access a variable
m_rights.

The value of m_rights is 10 for unprotected Tracks and 3 for protected
Tracks. Maybe changing this value is a possibility to remove the
trackprotection.

reading this value is not too difficult:

IID_IOmgPmTrackList *tracklist;
_OPD_TRACKINFO *myOpdTrackInfo;
tracklist->GetTrackInfo(i,&myOpdTrackInfo);
right=myOpdTrackInfo->m_Rights;

but I don't know how to change this value. I tried something like:

_OPD_TRACKINFO *putinfo;
putinfo->m_rights=10;
tracklist->PutTrackInfo(i,putinfo);

but it causes an AccessViolation and changes the Tracknames of my MD. Maybe
someone has a solution for that problem.
c***@compsoc.com
2003-05-25 11:20:09 UTC
Permalink
/delurk

Hi,
Is there a list of NetMD.dll's interfaces any where?
Post by Bibabutzemann
Hi,
The function GetTrackInfo of IID_IOmgPmTrackList can access a variable
m_rights.
<snip>
André Oswald
2003-05-25 14:27:39 UTC
Permalink
I haven't found one yet, but the Borland C-Builder has a nice dll importer,
which shows all interfaces and their functions. I think i'm going to create
a complete list with all interfaces and functions in the next weeks.


----- Original Message -----
From: <***@compsoc.com>
Newsgroups: gmane.comp.audio.netmd.devel
Sent: Sunday, May 25, 2003 1:20 PM
Subject: Re: Track Protection
Post by c***@compsoc.com
/delurk
Hi,
Is there a list of NetMD.dll's interfaces any where?
Post by Bibabutzemann
Hi,
The function GetTrackInfo of IID_IOmgPmTrackList can access a variable
m_rights.
<snip>
Loading...