Usage of windows key store with MedTLS stack

I developed a DTLS server desktop application in C using Mbed TLS stack, I generated a digital certificate from openssl command line tool and used its PEM format in my code; Now I want to secure the private key of that certificate and after some search I managed to install my certificate (private key is exportable) in windows key store.
I managed to access the certificate using windows cryptography APIs, How to access the private key to use it in Mbed TLS stack? Is there any example explains that?