How to use nvidia's DMA function on windows visual studio

How to Use Nvidia’s RDMA/DMA functions on windows. I want to ¨Read memory from cuda using direct memory access functions? did that is possible? can someone show example of code!

I want to have example of reading specific memory address on ram with just a specifced memory address.