public static SpwRetVal SiGetDeviceName(IntPtr hdl, out string name) { SpwRetVal tmpRetVal; SiDeviceName deviceNameStruct = new SiDeviceName(); tmpRetVal = pfnSiGetDeviceName(hdl, ref deviceNameStruct); name = deviceNameStruct.name; return(tmpRetVal); }
private static extern SpwRetVal pfnSiGetDeviceName(IntPtr hdl, ref SiDeviceName name);