GetPluginFilename Function

Retrieves a plugin's file name relative to the plugins folder.

void GetPluginFilename(Handle plugin, char[] buffer, int maxlength)

Parameters

Handle plugin

Plugin Handle (INVALID_HANDLE uses the calling plugin).

char[] buffer

Buffer to the store the file name.

int maxlength

Maximum length of the name buffer.

Errors

Invalid Handle.