c# - samsung api how to call -
does knws how call it? public struct smiaccelerometervector { public float x; public float y; public float z; }
i want x,y,z values , paste label.
samsung's documentation unclear on exact dll contains these functions, believe this:
public struct vector { single x; single y; single z; } [dllimport("smisdk.dll", setlasterror=true)] public static extern int smiaccelerometergetvector(out vector vector);
Comments
Post a Comment