Does it use Win32 API or bypasses it?
Does it use Win32 API or bypasses it?
Last edited by siavoshkc; 09-20-2006 at 02:17 PM.
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
Bypasses. That's the whole point.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
How it gets needed privillage?
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
By account of making direct calls to the public interface of the graphics card drivers. In theory, anyone can do that. It's just a really bad idea, because it ties you into the vendor-specific driver API. Oh, and no vendor publishes any documentation about their API - they only implement a low-level DirectX interface.
At least I'm pretty sure that's how it works. This is getting slightly into the realm of speculation.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
So you mean all full trust programs have direct access to device driver APIs in Windows?
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
Don't misunderstand me. I mean the API exposed by device drivers, which is essentially just another set of syscalls. I don't mean the DDK, the API the Windows kernel exposes to device drivers.
Yes, every full trust app (which includes every app not written in a managed language) can access any syscall.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
Where can I found a code example of such sys calls?
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
You mean, "Where can I find the source code for DirectX (a Microsoft product)?"
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
As such sys calls is legal for programs (they are previlleged). Code from another coder should be found. Right?
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
Only if anyone who publishes their source actually issues such calls. But why should they?
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law