UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wudfddi.IWDFCmResourceList.GetDescriptor |
IWDFCmResourceList::GetDescriptor (wudfddi.h) |
The GetDescriptor method returns a pointer to a resource descriptor that is contained in this interface's resource list. |
wdf\iwdfcmresourcelist_getdescriptor.htm |
wdf |
02/26/2018 |
|
GetDescriptor, GetDescriptor method, GetDescriptor method,IWDFCmResourceList interface, IWDFCmResourceList interface,GetDescriptor method, IWDFCmResourceList.GetDescriptor, IWDFCmResourceList::GetDescriptor, umdf.iwdfcmresourcelist_getdescriptor, wdf.iwdfcmresourcelist_getdescriptor, wudfddi/IWDFCmResourceList::GetDescriptor |
wudfddi.h |
Desktop |
1.11 |
Unavailable in UMDF 2.0 and later. |
WUDFx.dll |
Windows |
|
|
|
|
|
[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]
The GetDescriptor method returns a pointer to a resource descriptor that is contained in this interface's resource list.
A zero-based index into the logical configuration that is contained in this interface's resource list.
GetDescriptor returns a pointer to a CM_PARTIAL_RESOURCE_DESCRIPTOR structure.
Drivers typically call GetDescriptor from within OnPrepareHardware, before calling MapIoSpace.
The CM_PARTIAL_RESOURCE_DESCRIPTOR structure is defined in Wudfwdm.h.
For more information about parsing hardware resources, see Finding and Mapping Hardware Resources in a UMDF Driver.
See example code in IWDFDevice3::MapIoSpace.