Use it to check if control has any opened document.
HRESULT get_HasDoc([out, retval] VARIANT_BOOL* bHasDoc);
IPXV_Control