Пример #1
0
        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);
        }
Пример #2
0
 private static extern SpwRetVal pfnSiGetDeviceName(IntPtr hdl, ref SiDeviceName name);