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.
This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.
The GetAttrib method returns an attribute value, specified by GUID.
Syntax
HRESULT GetAttrib(
[in] GUID guidAttribute,
[in, out] BYTE *pbAttribute,
[in, out] DWORD *pdwAttributeLength
);
Parameters
guidAttribute [in]
GUID that specifies the attribute to retrieve.pbAttribute [in, out]
Pointer to a buffer that receives the attribute value. This parameter can be NULL.pdwAttributeLength [in, out]
If pbAttribute is NULL, this parameter receives the size of the attribute data, in bytes. If pbAttribute is non-NULL, this parameter specifies the size of the pbAttribute buffer, in bytes.
Return Value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
E_POINTER |
NULL pointer value. |
NS_E_UNSUPPORTED_PROPERTY |
The specified GUID does not match any attribute on this object. |
S_OK |
The method succeeded. |
Requirements
Header | Declared in Dsattrib.h. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008