Searched refs:lStatus (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/hbaapi/common/ |
H A D | HBAAPILIB.c | 524 LONG lStatus; in HBA_LoadLibrary() local 537 lStatus = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\SNIA\\HBA", in HBA_LoadLibrary() 539 if (lStatus != ERROR_SUCCESS) { in HBA_LoadLibrary() 550 lStatus = RegEnumKeyEx(hkSniaHba, i, in HBA_LoadLibrary() 553 if (lStatus == ERROR_NO_MORE_ITEMS) { in HBA_LoadLibrary() 555 } else if (lStatus == ERROR_MORE_DATA) { /* buffer not big enough */ in HBA_LoadLibrary() 560 lStatus = RegOpenKeyEx(hkSniaHba, cSubKeyName, 0, KEY_READ, in HBA_LoadLibrary() 562 if (lStatus != ERROR_SUCCESS) { in HBA_LoadLibrary() 571 lStatus = RegQueryValueEx(hkVendorLib, "LibraryFile", NULL, &dwType, in HBA_LoadLibrary() 573 if (lStatus != ERROR_SUCCESS) { in HBA_LoadLibrary()
|
/illumos-gate/usr/src/lib/smhba/common/ |
H A D | SMHBAAPILIB.c | 683 LONG lStatus; in HBA_LoadLibrary() local 696 lStatus = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\\SNIA\\HBA", in HBA_LoadLibrary() 698 if (lStatus != ERROR_SUCCESS) { in HBA_LoadLibrary() 709 lStatus = RegEnumKeyEx(hkSniaHba, i, in HBA_LoadLibrary() 712 if (lStatus == ERROR_NO_MORE_ITEMS) { in HBA_LoadLibrary() 714 } else if (lStatus == ERROR_MORE_DATA) { /* buffer not big enough */ in HBA_LoadLibrary() 719 lStatus = RegOpenKeyEx(hkSniaHba, cSubKeyName, 0, KEY_READ, in HBA_LoadLibrary() 721 if (lStatus != ERROR_SUCCESS) { in HBA_LoadLibrary() 735 lStatus = RegQueryValueEx(hkVendorLib, "LibraryFile", NULL, &dwType, in HBA_LoadLibrary() 737 if (lStatus != ERROR_SUCCESS) { in HBA_LoadLibrary()
|