IWDFCmResourceList::GetCount method

The GetCount method returns the number of resource descriptors that are contained in this interface's resource list.

Syntax


ULONG GetCount();

Parameters

This method has no parameters.

Return value

GetCount returns the number of resource descriptors that are contained in this interface's resource list.

Remarks

Typically, a UMDF driver calls the GetCount method from its OnPrepareHardware method. For more information about parsing hardware resources, see Finding and Mapping Hardware Resources in a UMDF Driver.

Examples

See example code in IWDFDevice3::MapIoSpace.

Requirements

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.11

Header

Wudfddi.h

DLL

WUDFx.dll

See also

IWDFCmResourceList

 

 

Send comments about this topic to Microsoft

Показ:
© 2014 Microsoft