[IERNONCE]

* Add to trunk, with a stubbed RunonceEx. Brought to you by Robert Naumann.
CORE-7194 #resolve #comment Committed in r59035. Cheers ;)

svn path=/trunk/; revision=59035
This commit is contained in:
Amine Khaldi 2013-05-18 14:41:18 +00:00
parent dc4440b1fa
commit 595488f92e
4 changed files with 56 additions and 0 deletions

View file

@ -50,6 +50,7 @@ add_subdirectory(httpapi)
add_subdirectory(iccvid)
add_subdirectory(icmp)
add_subdirectory(ieframe)
add_subdirectory(iernonce)
add_subdirectory(imaadp32.acm)
add_subdirectory(imagehlp)
add_subdirectory(imm32)

View file

@ -0,0 +1,10 @@
spec2def(iernonce.dll iernonce.spec)
add_library(iernonce SHARED
iernonce.c
${CMAKE_CURRENT_BINARY_DIR}/iernonce.def)
set_module_type(iernonce win32dll UNICODE)
add_importlibs(iernonce msvcrt kernel32 ntdll)
add_cd_file(TARGET iernonce DESTINATION reactos/system32 FOR all)

View file

@ -0,0 +1,44 @@
/*
* PROJECT: ReactOS system libraries
* LICENSE: GPL - See COPYING in the top level directory
* FILE: dll\win32\iernonce\iernonce.c
* PURPOSE: DLL for RunOnceEx Keys
* PROGRAMMERS: Copyright 2013 Robert Naumann
*/
#define WIN32_NO_STATUS
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winuser.h>
#include <setupapi.h>
#define NDEBUG
#include <debug.h>
HINSTANCE hInstance;
BOOL
WINAPI
DllMain(HINSTANCE hinstDLL,
DWORD dwReason,
LPVOID reserved)
{
switch (dwReason)
{
case DLL_PROCESS_ATTACH:
break;
case DLL_PROCESS_DETACH:
hInstance = hinstDLL;
break;
}
return TRUE;
}
VOID WINAPI RunOnceExProcess(HWND hwnd, HINSTANCE hInst, LPCSTR path, int nShow)
{
DPRINT1("RunOnceExProcess() not implemented\n");
}

View file

@ -0,0 +1 @@
@ stdcall RunOnceExProcess(ptr ptr str long)