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 HasChildren property specifies whether the device has any child devices.
Syntax
HRESULT get_HasChildren(
[out] VARIANT_BOOL *pvarb
);
Parameters
[out] pvarb
Receives a reference to a VARIANT_BOOL that contains the value VARIANT_TRUE if the device has one or more child devices; otherwise, it contains the value VARIANT_FALSE.
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.
Remarks
Use this property to determine whether or not the application should access the IUPnPDevice::Children property.
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 |