view src/os_w32dll.c @ 32869:47d83ab63764

Translations: Update po files for zh and ja Commit: https://github.com/vim/vim/commit/04510566b10b5552d4ce8ba32e5422e755a239fb Author: K.Takata <kentkt@csc.jp> Date: Sat Aug 19 13:17:43 2023 +0200 Translations: Update po files for zh and ja Update po files by running `make` in `src/po/`. Some po files were out of sync with the files in other encodings. Related: #12749, #12787 closes: #12826 closes: #12840
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Aug 2023 13:30:06 +0200
parents 7ae2396cef62
children
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 <ronaharon@yahoo.com> wrote this and the DLL support code.
 * Adapted by Ken Takata.
 */
#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>

void SaveInst(HINSTANCE hInst);

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