Exemple #1
0
        public static SpwRetVal SiGetDeviceImageFileName(IntPtr hdl, out string path)
        {
            SpwRetVal        tmpRetVal;
            SiDeviceIconPath devicePathStruct = new SiDeviceIconPath();
            int len = SI_STRSIZE;

            tmpRetVal = pfnSiGetDeviceImageFileName(hdl, ref devicePathStruct, ref len);
            path      = devicePathStruct.path;
            return(tmpRetVal);
        }
Exemple #2
0
 private static extern SpwRetVal pfnSiGetDeviceImageFileName(IntPtr hdl, ref SiDeviceIconPath path, ref int len);