Reputation: 48129
I'm digging into a project, dealing with Windows Portable Devices (WPD). Everything I am going through has WPD_[some name], WPD_[some other thing], etc. All the documentation pages I find refer to these constants. But under the hood, these constants are directly associated to some constant GUID values.
How / where do these constants exists? Some documentation says to look into PortableDevices.h, and everything I look for on that just points to more named constants, not the corresponding GUIDs.
For example,
WPD_CATEGORY_CAPABILITIES = Guid("0cabec78-6b74-41c6-9216-2639d1fce356")
Another page to show a good example of all these "WPD_" references can be found on Microsoft's pages.
Upvotes: 1
Views: 138
Reputation: 118937
Having a look around, I found the Magic Number Database which lists all of these values. The link, with a filter applied to only show those you need, is
https://www.magnumdb.com/search?q=title%3AWPD_%2A+AND+valuetype%3ASystem.Guid
However, that site also gives the path of the file in which those values are sourced from which points at the Windows Driver Kit so my advice would be to grab that, install it and find the header file in this folder (you may need to tweak the version number if the WDK has been updated):
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\PortableDevice.h
Download the WDK from here.
Upvotes: 2