Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/*++
Copyright (c) 2000-2001 Microsoft Corporation
Module Name:
Excluded.cpp
Abstract:
This DLL is explicitly linked to the SMVEXE.
Author:
Diaa Fathalla (DiaaF) 27-Nov-2000
Revision History:
--*/
#include "stdafx.h"
#include "..\Common\Common.h"
BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { if (ul_reason_for_call == DLL_PROCESS_ATTACH) { CLog Log; LPTSTR szTestStr = GetCommandLine(); Log.LogResults(TestResults(szTestStr),"Calling GetCommandLine from DLL_PROCESS_ATTACH in explicitly linked dll (SMVDDLL.DLL)."); } return TRUE; }
EXPORT BOOL WINAPI DDLLTestGetCommandLine() { CLog Log; LPTSTR szTestStr = GetCommandLine(); Log.LogResults(TestResults(szTestStr),"Calling GetCommandLine from an exported function in explicitly linked dll (SMVDDLL.DLL)."); return TRUE; }
|