How to get SystemProperty("Direct3DDevice7") in C?

Blitz3D SDK Forums/Blitz3D SDK Programming/How to get SystemProperty("Direct3DDevice7") in C?

How can I get SystemProperty("Direct3DDevice7") in C/C++? I am working on porting FastImage for B3D to SDK in C/C++. I come so close but cannot initialize Fastimage with {InitDraw SystemProperty("Direct3DDevice7")} << equivalent in B3D IDE. I tried several ways but it did not work. Please help.