Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetStringAttribute method retrieves the value of a string attribute.
HRESULT GetStringAttribute(
DWORD dwAttributeId,
BSTR* pszAttribute
);
Arguments
dwAttributeId |
[in] DWORD containing the index of the attribute to retrieve. |
pszAttribute |
[out] Pointer to a BSTR containing the value of the attribute. |
Return Value
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code |
Number |
Description |
|---|---|---|
E_UNEXPECTED |
0x8000FFFF |
pszAttribute is null or dwAttributeId is not a valid index location. |
E_OUTOFMEMORY |
0x8007000E |
There is insufficient memory to complete the function. |
Requirements
Header: streamdescription.h.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.