mok/mok.c
BOOLEAN ShimLoaded(void) {
   SHIM_LOCK   *shim_lock;
   EFI_GUID    ShimLockGuid = SHIM_LOCK_GUID;

   return (refit_call3_wrapper(BS->LocateProtocol, &ShimLockGuid, NULL, (VOID**) &shim_lock) == EFI_SUCCESS);
}
// Returns TRUE if the shim program is available to verify binaries,
// FALSE if not
Returns TRUE if the shim program is available to verify binaries,
FALSE if not
Returns TRUE if the shim program is available to verify binaries FALSE if not
BOOLEAN ShimLoaded(void) {
   SHIM_LOCK   *shim_lock;
   EFI_GUID    ShimLockGuid = SHIM_LOCK_GUID;
   return (refit_call3_wrapper(BS->LocateProtocol, &ShimLockGuid, NULL, (VOID**) &shim_lock) == EFI_SUCCESS);
}
BOOLEAN ShimLoaded ( void ) { SHIM_LOCK * shim_lock ; EFI_GUID ShimLockGuid = SHIM_LOCK_GUID ; return ( refit_call3_wrapper ( BS -> LocateProtocol , & ShimLockGuid , NULL , ( VOID * * ) & shim_lock ) == EFI_SUCCESS ) ; }
Returns TRUE if the shim program is available to verify binaries,
FALSE if not
Returns TRUE if the shim program is available to verify binaries FALSE if not