PECompact CODEC Plug-ins

GetCodecName Exposed Function


DWORD WINAPI GetCodecName(WCHAR *pwszDest, DWORD dwDestSize);

Parameters:

lpvDest
The address at which to place the codec name wide character, null terminated, string. If pwszDest is NULL, the required size of this buffer is returned.

dwDestSize
The size, in wide characters, of the destination buffer. This size should include the NULL terminator.

Return Value:

If successful, the return value is the size, in wide characters of the returned string, not including the trailing NULL. If the pwszDest parameter was NULL, the return value will be the required size, in wide characters, of the destination buffer.

Remarks: