Leaked source code of windows server 2003
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.

65 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. intidll.c
  5. Abstract:
  6. This file handles the DLLInitialize spooler API
  7. Environment:
  8. Win32 subsystem, DriverUI module, user mode
  9. Revision History:
  10. 07/17/96 -amandan-
  11. Created it.
  12. --*/
  13. #include "gpdparse.h"
  14. //
  15. // Global instance handle and critical section
  16. //
  17. BOOL
  18. DllMain(
  19. HANDLE hModule,
  20. ULONG ulReason,
  21. PCONTEXT pContext
  22. )
  23. /*++
  24. Routine Description:
  25. This function is called when the system loads/unloads the DriverUI module.
  26. At DLL_PROCESS_ATTACH, InitializeCriticalSection is called to initialize
  27. the critical section objects.
  28. At DLL_PROCESS_DETACH, DeleteCriticalSection is called to release the
  29. critical section objects.
  30. Arguments:
  31. hModule handle to DLL module
  32. ulReason reason for the call
  33. pContext pointer to context (not used by us)
  34. Return Value:
  35. TRUE if DLL is initialized successfully, FALSE otherwise.
  36. --*/
  37. {
  38. return TRUE;
  39. }