d2d1: Implement ID2D1EffectContext_GetDpi().
[wine.git] / dlls / rstrtmgr / main.c
blob238bcc20b1a5498679c4fe7a8044d016c7fd859f
1 /*
2 * Copyright 2010 Louis Lenders
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include <stdarg.h>
21 #include "windef.h"
22 #include "winbase.h"
23 #include "wine/debug.h"
25 #include "restartmanager.h"
27 WINE_DEFAULT_DEBUG_CHANNEL(rstrtmgr);
29 /***********************************************************************
30 * RmGetList (rstrtmgr.@)
32 * Retrieve the list of all applications and services using resources registered with the Restart Manager session
34 DWORD WINAPI RmGetList(DWORD dwSessionHandle, UINT *pnProcInfoNeeded, UINT *pnProcInfo,
35 RM_PROCESS_INFO *rgAffectedApps[], LPDWORD lpdwRebootReasons)
37 FIXME("%ld, %p, %p, %p, %p stub!\n", dwSessionHandle, pnProcInfoNeeded, pnProcInfo, rgAffectedApps, lpdwRebootReasons);
38 if (pnProcInfoNeeded)
39 *pnProcInfoNeeded = 0;
40 if (pnProcInfo)
41 *pnProcInfo = 0;
42 return ERROR_SUCCESS;
45 /***********************************************************************
46 * RmRegisterResources (rstrtmgr.@)
48 * Register resources for a Restart Manager session
50 DWORD WINAPI RmRegisterResources(DWORD dwSessionHandle, UINT nFiles, LPCWSTR rgsFilenames[],
51 UINT nApplications, RM_UNIQUE_PROCESS *rgApplications,
52 UINT nServices, LPCWSTR rgsServiceNames[])
54 FIXME("%ld, %d, %p, %d, %p, %d, %p stub!\n", dwSessionHandle, nFiles, rgsFilenames,
55 nApplications, rgApplications, nServices, rgsServiceNames);
56 return ERROR_SUCCESS;
59 /***********************************************************************
60 * RmStartSession (rstrtmgr.@)
62 * Start a new Restart Manager session
64 DWORD WINAPI RmStartSession(DWORD *sessionhandle, DWORD flags, WCHAR sessionkey[])
66 FIXME("%p, %ld, %p stub!\n", sessionhandle, flags, sessionkey);
67 if (sessionhandle)
68 *sessionhandle = 0xdeadbeef;
69 return ERROR_SUCCESS;
72 /***********************************************************************
73 * RmRestart (rstrtmgr.@)
75 DWORD WINAPI RmRestart(DWORD handle, DWORD flags, RM_WRITE_STATUS_CALLBACK status)
77 FIXME("%lu, 0x%08lx, %p stub!\n", handle, flags, status);
78 return ERROR_SUCCESS;
81 /***********************************************************************
82 * RmEndSession (rstrtmgr.@)
84 DWORD WINAPI RmEndSession(DWORD handle)
86 FIXME("%lu stub!\n", handle);
87 return ERROR_SUCCESS;
90 /***********************************************************************
91 * RmShutdown (rstrtmgr.@)
93 DWORD WINAPI RmShutdown(DWORD handle, ULONG flags, RM_WRITE_STATUS_CALLBACK status)
95 FIXME("%lu, 0x%08lx, %p stub!\n", handle, flags, status);
96 return ERROR_SUCCESS;
99 /***********************************************************************
100 * RmAddFilter (rstrtmgr.@)
102 DWORD WINAPI RmAddFilter(DWORD handle, LPCWSTR moduleName, RM_UNIQUE_PROCESS *process,
103 LPCWSTR serviceShortName, RM_FILTER_ACTION filter)
105 FIXME("%lu, %s %p %s 0x%08x stub!\n", handle, debugstr_w(moduleName), process,
106 debugstr_w(serviceShortName), filter);
107 return ERROR_SUCCESS;
110 /***********************************************************************
111 * RmRemoveFilter (rstrtmgr.@)
113 DWORD WINAPI RmRemoveFilter(DWORD handle, LPCWSTR moduleName, RM_UNIQUE_PROCESS *process,
114 LPCWSTR serviceShortName)
116 FIXME("%lu, %s %p %s stub!\n", handle, debugstr_w(moduleName), process,
117 debugstr_w(serviceShortName));
118 return ERROR_SUCCESS;