AnnoGetMenuItemsCount

#include “BiAnno.h”

BOOL CALLBACK AnnoGetMenuItemsCount ( LPVOID            pMenu,
DWORD&   dwCount )

Description

This function gets the number of the menu items in the user defined pop-up menu.

Parameters

LPVOID

pMenu

Pointer to the custom menu

DWORD&

dwCount

This is an output parameter. This parameter will contain the number of menu items.

Return value

TRUE on success, otherwise FALSE. If any error occurs, you can call the AnnoGetLastError function for the last error code.

Programming Notes

None.

Code Example

None