Assuming you mean cv2.CAP_DSHOW… it works!
Can you comment a bit more what CAP_DSHOW and CAP_MSMF are?
Thank you a lot.