IPortableDeviceClassExtension::ProcessLibraryMessage method (portabledeviceclassextension.h)
The ProcessLibraryMessage interface processes class library-specific messages and commands. A WPD driver calls this method whenever it needs to update device information (on its devnode), for example the device friendly name, enable or disable device service Plug and Play (PnP) interfaces, and so on.
Syntax
HRESULT ProcessLibraryMessage(
[in] IPortableDeviceValues *pParams,
[out] IPortableDeviceValues *pResults
);
Parameters
[in] pParams
An IPortableDeviceValues object that contains the library-specific command parameters. Supported commands (and associated parameters and results) are WPD_COMMAND_CLASS_EXTENSION_WRITE_DEVICE_INFORMATION, WPD_COMMAND_CLASS_EXTENSION_REGISTER_SERVICE_INTERFACES, and WPD_COMMAND_CLASS_EXTENSION_UNREGISTER_SERVICE_INTERFACES.
[out] pResults
An IPortableDeviceValues object that contains the library-specific command results.
Return value
The method returns an HRESULT. The possible return values are shown in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
A required pointer argument was NULL. |
Remarks
To be supplied.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | portabledeviceclassextension.h |