Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ModelName property specifies a human-readable form of the model name of the device.
Syntax
HRESULT get_ModelName(
[out] BSTR *pbstr
);
Parameters
[out] pbstr
Receives a reference to a string that contains the model name. Release this string with SysFreeString when it is no longer required.
Return value
For C++: If this property's "get" method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | upnp.h |
| DLL | Upnp.dll |