Property ThreadID of interface IPXV_Inst returns identifier of main thread.
HRESULT get_ThreadID(LONG* pThreadID);
See also IPXV_Inst.