Jump to content
  • Advertisement
Sign in to follow this  
caboodels2412

Converting a memory buffer into a file

This topic is 3970 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Do you guys know any info on how to open a memory buffer into a file? The content in my memory buffer is a XML document, but i dont know how to display the content. Please help~thanx..

Share this post


Link to post
Share on other sites
Advertisement
Owh yeah..sorry I forgot to tell you the details. I'm using C++ for an application that uses COPP (Certified Output Protection Protocal)

I have an XML fine stored in a pointer:
/////////////////////////////////////////////////////////////
hr = pVmr->QueryInterface(IID_IAMCertifiedOutputProtection,
(void**)&pCOPP);

if(SUCCEEDED(hr))//Get the certificate chain
{

hr = pCOPP->KeyExchange(&guidRandom, &pbCertificateChain,
&cbCertificateChainLen);

}
return hr;
/////////////////////////////////////////////////////////////////
I'd like to know the content of pCOPP as that is where the certificate chain of the driver is. I'm using VC++ by the way. Do you have any ideas?thanx..

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!