ANY-maze Help > The ANY-maze reference > ANY-maze plug-ins > Plug-in API reference > AME_GETHELPDETAILS message

AME_GETHELPDETAILS message

The AME_GETHELPDETAILS message is used to get the details text of the help message for a plug-in.

Details text is limited to 64K (less 1) characters and can include mark-up - see the Remarks section below.

Parameters

guid

Pointer to the GUID of the plug-in whose details text is being requested. If a DLL only implements a single plug-in, it can ignore this parameter - although it is good practice to always check it.

wParam

The size of the buffer pointed to by lParam, in bytes.

lParam

Pointer to a character buffer in which the details text should be returned as a NULL-terminated ASCII string.

Return value

The only valid return codes from this message are:

 AME_OK 
 AME_ERROR 
 AME_NOTIMPLEMENTED 

If the code has written text to the buffer, then return AME_OK.

If the plug-in does not have a help message, then return AME_NOTIMPLEMENTED.

If an error occurs, return AME_ERROR.

Remarks

Implementing a help message for your plug-in is optional, but highly recommended.

The details text is shown under a title of 'Details'. Here you should include full details of your plug-in - what it does, how it does it, what results it returns, what settings it has (if any), etc.

This text can include the following mark-up:

 \paraStarts a new paragraph
 \i1Switches italic on
 \i0Switches italic off
 \u1Switches underline on
 \u0Switches underline off
 \e1Switches bold on
 \e0Switches bold off
 \bulletStart a new bulleted item in a bullet list

Note that the '\' character is the C/C++ escape character, so if you type it into a string in C/C++ code, it will be taken to mean that you're escaping the following character - so when typing in '\para' you should actually enter '\\para', as the escaped '\' character is itself.

Also note that CR or LF characters will not cause new paragraphs in the help message - use \para to do this.

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T1013