Uniformize DllMain TRACEing across dlls.
This commit is contained in:
parent
7284e6d419
commit
7160af007c
|
@ -205,7 +205,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
|
BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
{
|
{
|
||||||
TRACE("(%p,%lu,%p)\n", hInstDll, fdwReason, lpvReserved);
|
TRACE("(%p,%ld,%p)\n", hInstDll, fdwReason, lpvReserved);
|
||||||
|
|
||||||
switch (fdwReason) {
|
switch (fdwReason) {
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
|
|
|
@ -73,7 +73,7 @@ static const char * GPA_string = "Failed to get entry point %s for hinst = 0x%08
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD Reason, LPVOID Reserved)
|
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD Reason, LPVOID Reserved)
|
||||||
{
|
{
|
||||||
TRACE("(%p, %08lx, %p)\n", hInstance, Reason, Reserved);
|
TRACE("(%p, %ld, %p)\n", hInstance, Reason, Reserved);
|
||||||
|
|
||||||
switch(Reason)
|
switch(Reason)
|
||||||
{
|
{
|
||||||
|
|
|
@ -73,7 +73,7 @@ DWORD gdwDPlaySPRefCount = 0; /* FIXME: Should it be initialized here? */
|
||||||
BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
|
BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
|
||||||
{
|
{
|
||||||
|
|
||||||
TRACE( "(%p,0x%08lx,%p)\n", hinstDLL, fdwReason, lpvReserved );
|
TRACE( "(%p,%ld,%p)\n", hinstDLL, fdwReason, lpvReserved );
|
||||||
|
|
||||||
switch ( fdwReason )
|
switch ( fdwReason )
|
||||||
{
|
{
|
||||||
|
|
|
@ -653,7 +653,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
|
||||||
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
TRACE("(%p 0x%lx %p)\n", hInstDLL, fdwReason, lpvReserved);
|
TRACE("(%p %ld %p)\n", hInstDLL, fdwReason, lpvReserved);
|
||||||
|
|
||||||
switch (fdwReason) {
|
switch (fdwReason) {
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
|
|
|
@ -30,7 +30,7 @@ HINSTANCE hhctrl_hinstance;
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpvReserved)
|
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
{
|
{
|
||||||
TRACE("(%p,0x%08lx,%p)\n", hInstance, fdwReason, lpvReserved);
|
TRACE("(%p,%ld,%p)\n", hInstance, fdwReason, lpvReserved);
|
||||||
|
|
||||||
switch (fdwReason)
|
switch (fdwReason)
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,7 +36,7 @@ LONG MAPI_ObjectCount = 0;
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
|
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
|
||||||
{
|
{
|
||||||
TRACE("(%p,0x%lx,%p)\n", hinstDLL, fdwReason, fImpLoad);
|
TRACE("(%p,%ld,%p)\n", hinstDLL, fdwReason, fImpLoad);
|
||||||
|
|
||||||
switch (fdwReason)
|
switch (fdwReason)
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,7 +36,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mscms);
|
||||||
|
|
||||||
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
||||||
{
|
{
|
||||||
TRACE( "(%p, 0x%08lx, %p)\n", hinst, reason, reserved );
|
TRACE( "(%p, %ld, %p)\n", hinst, reason, reserved );
|
||||||
|
|
||||||
switch (reason)
|
switch (reason)
|
||||||
{
|
{
|
||||||
|
|
|
@ -59,7 +59,7 @@ BOOL WINAPI DllMain(
|
||||||
DWORD fdwReason,
|
DWORD fdwReason,
|
||||||
LPVOID lpvReserved )
|
LPVOID lpvReserved )
|
||||||
{
|
{
|
||||||
TRACE("(%p,%08lx,%p)\n",hInstDLL,fdwReason,lpvReserved);
|
TRACE("(%p,%ld,%p)\n",hInstDLL,fdwReason,lpvReserved);
|
||||||
|
|
||||||
switch ( fdwReason )
|
switch ( fdwReason )
|
||||||
{
|
{
|
||||||
|
|
|
@ -755,7 +755,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
|
BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
{
|
{
|
||||||
TRACE("(%p,%lu,%p)\n", hInstDll, fdwReason, lpvReserved);
|
TRACE("(%p,%ld,%p)\n", hInstDll, fdwReason, lpvReserved);
|
||||||
|
|
||||||
switch (fdwReason) {
|
switch (fdwReason) {
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
|
|
|
@ -36,7 +36,7 @@ BOOL WINAPI DllMain(
|
||||||
DWORD fdwReason,
|
DWORD fdwReason,
|
||||||
LPVOID lpvReserved)
|
LPVOID lpvReserved)
|
||||||
{
|
{
|
||||||
TRACE("(%p,%08lx,%p)\n", hInstDLL, fdwReason, lpvReserved);
|
TRACE("(%p,%ld,%p)\n", hInstDLL, fdwReason, lpvReserved);
|
||||||
|
|
||||||
switch(fdwReason) {
|
switch(fdwReason) {
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
|
|
|
@ -118,7 +118,7 @@ static LOGFONTA DefaultLogFont = {
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
||||||
{
|
{
|
||||||
TRACE("(%p, 0x%08lx, %p)\n", hinst, reason, reserved);
|
TRACE("(%p, %ld, %p)\n", hinst, reason, reserved);
|
||||||
|
|
||||||
switch(reason) {
|
switch(reason) {
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
|
||||||
|
|
||||||
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
||||||
{
|
{
|
||||||
TRACE( "(%p, 0x%08lx, %p)\n", hinst, reason, reserved );
|
TRACE( "(%p, %ld, %p)\n", hinst, reason, reserved );
|
||||||
|
|
||||||
switch (reason)
|
switch (reason)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue