命令行程序如何获取HINSTANCE?

main()
{
     HINSTANCE hinst =  GetModuleHandle(NULL);
}
原文地址:https://www.cnblogs.com/rixiang/p/9577142.html