[#BloombergLP-ball-CategoryManager-lookupCategory-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/CategoryManager.adoc[CategoryManager]::lookupCategory :relfileprefix: ../../../ :mrdocs: Return the address of the modifiable category having the specified `categoryName` in the registry of this category manager, or 0 if no such category exists. If a category is returned and the specified `categoryHolder` is non‐null, then also load into `categoryHolder` the returned category and its maximum level and link `categoryHolder` to the category if it has not yet been linked. Note that the category name is possibly changed by the registered category name filter callback before the lookup. == Synopsis Declared in `<ball_categorymanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/Category.adoc[Category]* lookupCategory( xref:BloombergLP/ball/CategoryHolder.adoc[CategoryHolder]* categoryHolder, char const* categoryName); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#