Skip to content

Latest commit

 

History

History
76 lines (61 loc) · 3.16 KB

nn-pnpxassoc-ipnpxassociation.md

File metadata and controls

76 lines (61 loc) · 3.16 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date 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 req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:pnpxassoc.IPNPXAssociation
IPNPXAssociation (pnpxassoc.h)
Defines methods to manage the association database entries for PnP-X devices.
IPNPXAssociation
IPNPXAssociation interface
IPNPXAssociation interface
described
ncd.ipnpxassociation
pnpxassoc/IPNPXAssociation
ncd\ipnpxassociation.htm
ncd
03c1c4cb-fffb-4b4a-963a-200670062f4a
12/05/2018
IPNPXAssociation, IPNPXAssociation interface, IPNPXAssociation interface,described, ncd.ipnpxassociation, pnpxassoc/IPNPXAssociation
pnpxassoc.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Pnpxassoc.idl
Windows
19H1
IPNPXAssociation
pnpxassoc/IPNPXAssociation
c++
APIRef
kbSyntax
COM
pnpxassoc.h
IPNPXAssociation

IPNPXAssociation interface

-description

[Function Discovery is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Defines methods to manage the association database entries for PnP-X devices. . These methods send notifications when the corresponding PnP devnode changes. An application calls IPNPXAssociation methods when the application programmatically manages PnP-X device association, either through a custom user interface or through some other method. Usually, the Network Explorer is used to manage PnP-X device association.

-inheritance

The IPNPXAssociation interface inherits from the IUnknown interface. IPNPXAssociation also has these types of members:

-remarks

This interface is obtained by calling QueryService on a function instance returned by a Function Discovery query. The following pseudocode shows the parameters to use for the QueryService call.

QueryService( SID_PNPXAssociation, __uuidof( IPNPXAssociation ) )

The IPNPXAssociation methods modify the association database entry for the function instance upon which QueryService was called.

Not all function instances can be associated using the IPNPXAssociation methods. The function instance must have its PKEY_PNPX_GlobalIdentity key populated with the UUID supplied by the Function Discovery provider used to discover the device. For more information about property keys, see PnP-X Provider PKEYs.

-see-also

IPNPXDeviceAssociation