Пример #1
0
 private static unsafe extern int dpGetDriverVersion(VERSION_INFO_STRUC *pDriverVersionInfo);
Пример #2
0
 public static unsafe string GetDriverVersion()
 {
     VERSION_INFO_STRUC v = new VERSION_INFO_STRUC();
     dpGetDriverVersion(&v);
     return v.dwDriverVersion+"."+v.dwDriverRevision+"."+
         v.dwDriverRelease+"."+v.dwDriverBuildNum;
 }