SLPGetProperty Subroutine

Purpose

Returns the value of the corresponding SLP property name.

Syntax

const char* SLPGetProperty(const char* pcName);

Description

The SLPGetProperty subroutine returns the value of the corresponding SLP property name. The returned string is owned by the library and must not be freed.

Parameters

Item Description
pcName Null-terminated string with the property name.

Return Values

If no error, the SLPGetProperty subroutine returns a pointer to a character buffer containing the property value. If the property was not set, the subroutine returns the default value. If an error occurs, it returns NULL. The returned string must not be freed.