//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Paul Bunyan's API Interceptor // // // InitPBAPIInterceptor() // // At present, all initialization of PBAPIInterceptor.dll is done in it's DllMain() routine automatically so init // call below doesn't need to do anything other than simply load the DLL. If some future version takes arguments // or something then it'll have to resolve to an actual call into the DLL. For now this has the added advantage // of being able to use this function whether or not PBAPIInterceptor.dll is installed - if not then this call // will fail but the process itself will at least still load. // VOID InitPBAPIInterceptor() { ENSURE(LoadLibrary(_T("PBAPIInterceptor.dll"))); } // // ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////