platform-sdk

VC6 and odd WINVER message during compile

I get the following message in a VC6 project compile: OTE: WINVER has been defined as 0x0500 or greater which enables Windows NT 5.0 and Windows 98 features. When these headers were released, Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions. For this release when WINVER is defined as 0x0500 or greater, yo...

Problem compiling Platform SDK program

Hi all, I'm trying to compile the example from here; http://msdn.microsoft.com/en-us/library/ms682619(VS.85).aspx I've installed the Platform SDK, but I'm getting these errors; Error 1 error LNK2019: unresolved external symbol _GetDeviceDriverBaseNameW@12 referenced in function _main DriverChecker.obj DriverChecker Error 2 error ...

Getting GPU clock speeds with SetupDiEnumDeviceInfo

Hi everyone! I posted a question earlier regarding obtaining GPU clock speeds, but I guess the thread appeared as already answered since someone had replied to it. I'd been advised by one of your members to try extracting GPU clock speeds using SetupDiEnumDeviceInfo. However, I looked around at some examples, like this one: http://ww...

VC++ Building directshow baseclasses

I am a newbie to DirectX SDK, Platfrom SDK and DirectShow. I downloaded latest Platform SDK and DirectX SDK August'09. I tried to build sample project in folder: Microsoft Platform SDK\Samples\Multimedia\DirectShow\Capture\PlayCap\ And had following building errors: LINK : fatal error LNK1181: cannot open input file 'D:\Program F...

Using multiple versions of the Windows Platform SDK with VS 2008 Professional

How do I use multiple multiple versions of the Windows Platform SDK for VC++ native code development with VS 2008 Professional : like The Windows SDK for Windows 7 and .NET Framework 3.5 SP1 and the one installed by default here: C:\Program Files\Microsoft SDKs\Windows\v6.0A\ ...

What's with "#ifdef _MAC" in Windows header files?

I was browsing through Windows's Platform SDK header files (what a life, right?), and I noticed many places contained references to the preprocessor symbol _MAC. For example: // WinUser.h line 1568 /* * Message structure */ typedef struct tagMSG { HWND hwnd; UINT message; WPARAM wParam; LPARAM l...

MIB_IPFORWARDROW metric(s) vs. ROUTE's

In the Windows command line, the 'ROUTE PRINT' command yields a tabular list of entries, with a single column labeled 'Metric'. In the Windows Platform SDK, you can fetch the same values (more or less) via the API, through the structure MIB_IPFORWARDROW. I can correlate most of the fields in MIB_IPFORWARDROW to the one's in ROUTE PRINT'...

How to tell *which* member in MIB_IPFORWARDROW structure is invalid?

A call CreateIpForwardEntry returns ERROR_INVALID_PARAMETER. The PSDK documentation describes this error as: The pRoute parameter is NULL, SetIpForwardEntry is unable to read from the memory pointed to by pRoute, or one of the members of the MIB_IPFORWARDROW structure is invalid. I know for certain that pRoute is not NULL a...