IUPnPServiceEnumProperty::SetServiceEnumProperty method (upnp.h)

The SetServiceEnumProperty method is used to indicate opt-in to the delayed Service Control Protocol Description (SCPD) download and event subscription for the IUPnPService objects enumerated from the IUPnPServices object.

Syntax

HRESULT SetServiceEnumProperty(
  DWORD dwMask
);

Parameters

dwMask

Specifies a bit-wise flag to indicate an opt-in to the delayed SCPD download and even subscription. Possible values include:

Flag Value
UPNP_SERVICE_DELAY_SCPD_AND_SUBSCRIPTION 0x1

Return value

Returns S_OK on success. Otherwise, this method returns E_FAIL.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header upnp.h
DLL Upnp.dll

See also

IUPnPServiceAsync

IUPnPServiceEnumProperty