IWICComponentInfo::GetAuthor method
Retrieves the name of component's author.
Syntax
HRESULT GetAuthor( [in] UINT cchAuthor, [in, out, unique] WCHAR *wzAuthor, [out] UINT *pcchActual );
Parameters
- cchAuthor [in]
-
Type: UINT
The size of the wzAuthor buffer.
- wzAuthor [in, out]
-
Type: WCHAR*
A pointer that receives the name of the component's author. The locale of the string depends on the value that the codec wrote to the registry at install time. For built-in components, these strings are always in English.
- pcchActual [out]
-
Type: UINT*
A pointer that receives the actual length of the component's authors name. The author name is optional; if an author name is not specified by the component, the length returned is 0.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
If cchAuthor is 0 and wzAuthor is NULL, the required buffer size is returned in pccchActual.
Requirements
|
Minimum supported client |
Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|