Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IDirectMusicPerformance8::SetGlobalParam()

Status
Not open for further replies.

Igglybob

Programmer
Jan 6, 2005
1
US
I need to figure out how to set the global parameter GUID_PerfAutoDownload to true.

I tried:
bool m = true;
g_performance->SetGlobalParam(GUID_PerfAutoDownload, (void **) &m, sizeof(m);

Unfortunately, it didn't work.
Anybody know how to use this method?

Thanks,
Igglybob
 
I'm not positive this is the problem, but DirectX never uses bools that I've seen. Everything seems to be a DWORD. Try this:

Code:
DWORD m = TRUE;
g_performance->SetGlobalParam(GUID_PerfAutoDownload, (void **) &m, sizeof(m));
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top