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); }
private static extern SpwRetVal pfnSiGetDeviceImageFileName(IntPtr hdl, ref SiDeviceIconPath path, ref int len);