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.

47 lines
990 B

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. winoldap.c
  5. Abstract:
  6. This module is a Win16 "stub" run by the WOW kernel when invoking
  7. non-Win16 applications. It calls WowLoadModule to wait for the
  8. non-win16 app to terminate, and then exits
  9. This makes WINOLDAP a strange Windows program, since it doesn't
  10. create a window or pump messages.
  11. The binary is named WINOLDAP.MOD for historic reasons.
  12. Author:
  13. 04-Apr-1995 Jonle , created
  14. Environment:
  15. Win16 (WOW)
  16. Revision History:
  17. --*/
  18. #include <windows.h>
  19. HINSTANCE WINAPI WowLoadModule(LPCSTR, LPVOID, LPCSTR);
  20. //
  21. // WinMain
  22. //
  23. int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance,
  24. LPSTR lpszCmdLine, int nCmdShow)
  25. {
  26. return (int) WowLoadModule(NULL, // no module name
  27. NULL, // no parameterblock
  28. lpszCmdLine // pass along cmd line
  29. );
  30. }