Through the EPDM API how can I tell if a file is a toolbox part?

Through the EPDM API, I’m trying to determine if a file is a toolbox part. That is my question. If you know how, you can stop reading, kindly, kindly post a description of how to do it and disregard the last half of the question.

So far the only EPDM method I have found that even mentions the toolbox is EdmListRetFileFlag.EdmLstRet_ToolboxPart, but I cannot figure out how to use that flag. Can anyone teach me how to use/create the EdmListRetFileFlag integer?

SolidworksSolidworks Pdm enterprise Pdm