mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:02:16 +00:00
[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:
parent
dc4440b1fa
commit
595488f92e
4 changed files with 56 additions and 0 deletions
|
@ -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)
|
||||
|
|
10
reactos/dll/win32/iernonce/CMakeLists.txt
Normal file
10
reactos/dll/win32/iernonce/CMakeLists.txt
Normal 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)
|
44
reactos/dll/win32/iernonce/iernonce.c
Normal file
44
reactos/dll/win32/iernonce/iernonce.c
Normal 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");
|
||||
}
|
1
reactos/dll/win32/iernonce/iernonce.spec
Normal file
1
reactos/dll/win32/iernonce/iernonce.spec
Normal file
|
@ -0,0 +1 @@
|
|||
@ stdcall RunOnceExProcess(ptr ptr str long)
|
Loading…
Add table
Add a link
Reference in a new issue