Share via


UpnpGetSCPDPath (Windows Embedded CE 6.0)

1/6/2010

This function is a helper function to locate the Service Control Protocol Description (SCPD) file for a particular service. This location is specified in the device description template.

Syntax

BOOL WINAPI UpnpGetSCPDPath(
  PCWSTR pszDeviceName,
  PCWSTR pszServiceId,
  PCWSTR pszUDN,
  PCWSTR pszSCPDFilePath,
  DWORD cchFilePath
); 

Parameters

  • pszDeviceName
    [in] Local device name specified in the UPNPDEVICEINFO structure.
  • pszServiceId
    [in] The service identifier for the service from the device description.
  • pszUDN
    [in] UDN uniquely identifying the device instance.
  • pszSCPDFilePath
    [out] Specifies the output buffer. Contains the local file path for the SCPD file.
  • cchFilePath
    [in] Specifies the length of supplied buffer in WCHARS.

Return Value

Returns TRUE if the function call succeeds, FALSE if an error occurs.

Requirements

Header upnpdevapi.h
Library Upnpcapi.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

UPnP C Device Host Functions
UPNPDEVICEINFO