|
-
May 5th, 2020, 06:58 AM
#10
Re: How to use a _declspec(dllexport) in VB6?
https://docs.nvidia.com/gameworks/co...op/optimus.htm
Global Variable NvOptimusEnablement (new in Driver Release 302)
Starting with the Release 302 drivers, application developers can direct the Optimus driver at runtime to use the High Performance Graphics to render any application —- even those applications for which there is no existing application profile. They can do this by exporting a global variable named NvOptimusEnablement. The Optimus driver looks for the existence and value of the export. Only the LSB of the DWORD matters at this time. A value of 0x00000001 indicates that rendering should be performed using High Performance Graphics. A value of 0x00000000 indicates that this method should be ignored.
A bit hanging on the edge. . . although we've seen worse :-))
They definately want to be able to bump it to 0x00000002 or impl a bitmask with feature requests.
cheers,
</wqw>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|