LockProfile of IStreamBufferSink
I am working timeshift function in Windows vista.
I have to use IStreamBufferSink::LockProfile function.
But it is failed in Windows Vista.
In DirectX C++ MSDN, it is written thatThis topic applies to Windows XP Service Pack 1 only.
How can I do for use LockProfile in Windows Vista?
Pls, help me.
[438 byte] By [
jiwon] at [2007-12-24]
Wherever it says "This topic applies to [some version of Windows]" in the DirectShow documentation, it should really say "... or later." (We're trying to fix all of these instances in the docs.) If something is removed for Vista, it will be clearly marked as such.
Regarding LockProfile, as far as I know this function has not been removed or deprecated, and should still work.
-
Mike Wasson, DirectShow SDK Documentation
This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.
(c) 2006 Microsoft Corporation. All rights reserved.
Hi,
I met the same problem on Vista! The IStreamBufferSink::LockProfile() returns 0x80004005, which means "An unspecified failure has occured.". Could anyone kindly explain this issue? I use the latest Vista for test, somehow it just cannot work fine.
But I notice that MCE's time-shift function works well on Vista. why? why? why? Nothing is highlighted on DShow SDK, I totally follow what SDK says, and still cannot get it work.
Yes, the code runs successfully on XP.
But in vista, LockProfile function will fail....
You're right, it shouldn't be so. But I don't know how to file a vista bug...:P
And I think there should be some API to code our ap as admin ?
Anyone from MS to help on this issue I have the same problem?
Even if it's possible to force an app to run in admin mode this does not seem right.
Yeah, it looks like SetNamespace(NULL) is what you want. Apparently the "Global" namespace requires admin credentials in Vista (by design). I'll add this information to the docs.
-
Mike Wasson, DirectShow SDK Documentation
This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.
(c) 2007 Microsoft Corporation. All rights reserved.
soga...
but my project is old vc6 project, and there will be a lot of errors if I build with new sdk (for new sbe.h).........
so I think to just use "run as admin" will be fine....:~