view src/os_w32dll.c @ 18478:94223687df0e

Added tag v8.1.2233 for changeset e93cab5d0f0f27fad7882f1f412927df055b090d
author Bram Moolenaar <>
date Tue, 29 Oct 2019 04:30:05 +0100
parents 7ae2396cef62
line wrap: on
line source

/* vi:set ts=8 sts=4 sw=4 noet:
 * VIM - Vi IMproved		by Bram Moolenaar
 * Do ":help uganda"  in Vim to read copying and usage conditions.
 * Do ":help credits" in Vim to see a list of people who contributed.
 * See README.txt for an overview of the Vim source code.
 * Windows GUI: main program (DLL) entry point:
 * Ron Aaron <> wrote this and the DLL support code.
 * Adapted by Ken Takata.
# define WIN32_LEAN_AND_MEAN
#include <windows.h>

void SaveInst(HINSTANCE hInst);

BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
    if (fdwReason == DLL_PROCESS_ATTACH)
    return TRUE;