UpnpGetSCPDPath

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.

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 Values

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Upnpdevapi.h.
Link Library: Upnpcapi.lib.

See Also

UPNPDEVICEINFO

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.