IPNPXAssociation::Delete method (pnpxassoc.h)
[Function Discovery is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Removes an entry from the association database.
HRESULT Delete( [in, optional] const WCHAR *pszSubcategory );
[in, optional] pszSubcategory
The subcategory of the association database in which the entry is stored. This parameter can be NULL.
Possible return values include, but are not limited to, the following.
||The method succeeded.|
||The method failed.|
This method modifies the association database entry corresponding to the function instance from which the IPNPXAssociation interface was obtained.
To mark a device as unavailable for use without deleting the association database entry, call IPNPXAssociation::Unassociate.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|