Fixed GetDeviceState and GetDeviceData to use only exported APIs.

1 file changed