Share via


IPlaylistRequestInfo::SetServerVariable Method

The SetServerVariable method sets a single server variable in a collection of server variables associated with the request.

HRESULT
SetServerVariable(
        [in] BSTR                       bstrVarName,
        [in] BSTR                       bstrVarValue
);

Arguments

bstrVarName

The name of the server variable to set.

bstrVarValue

The value to assign to the server variable.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Requirements

Header: playlistprovider.h

Library: playlistprovider.dll

Platform: Windows Server 2008 family