Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 | UWP apps]

Minimum supported server

Windows Server 2008 [desktop apps | UWP apps]

Header

Wincodec.h

IDL

Wincodec.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

 

 

Show:
© 2018 Microsoft