Data Card Source

Anyone know a way to determine, through the API, if the data card is being accessed from the EPDM addin or Windows Explorer?  I don't see anything within EdmCmdData that varies between the two, other than mlParentWnd, but this changes every time the card is accessed.  I have some checks that needs to run when the save button is pressed, and are dependent upon whether it's from SolidWorks or not.

I currently manage this with a toolbar button within SolidWorks that links to the datacard interface, but I'd like to remove this code and use the standard SolidWorks/EPDM functionality.

SolidworksSolidworks Pdm enterprise Pdm