Home > Software engineering >  InitializeWinIo function call failed
InitializeWinIo function call failed

Time:10-16

My system is Windows 7 64 - bit, according to this post to modify after restart or failure https://blog.csdn.net/xingqingly/article/details/38899825, would you please tell me why is
# include & lt; Windows. H>
# include "winio. H"
Typedef BOOL pfnBOOL_void (*) ();
Int main ()
{
HMODULE hWinIo32=NULL;
HWinIo32=: : LoadLibraryA (" WinIo64. DLL ");
If (hWinIo32==NULL)
{
: : MessageBox (NULL, "WinIo64. DLL module is loaded failure", NULL, MB_OK);
return -1;
}

PfnBOOL_void pfnInitializeWinIo=(pfnBOOL_void) : : GetProcAddress call (hWinIo32, "InitializeWinIo");
If (pfnInitializeWinIo==NULL)
{
: : MessageBox (NULL, "failed to get the InitializeWinIo function address", NULL, MB_OK);
return -1;
}
If (pfnInitializeWinIo ()==FALSE)
{
: : MessageBox (NULL, "initialization WINIO library failure", NULL, MB_OK);
return -1;
}

FreeLibrary (hWinIo32);
return 0;
}

CodePudding user response:

64 normal drive is in need of a digital signature, start system closed signature try

  • Related