Changeset 1885 for trunk/src/kernel32/stubs.cpp
- Timestamp:
- Nov 30, 1999, 3:19:03 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/stubs.cpp
r1879 r1885 1 /* $Id: stubs.cpp,v 1. 9 1999-11-29 20:43:01sandervl Exp $ */1 /* $Id: stubs.cpp,v 1.10 1999-11-30 14:15:54 sandervl Exp $ */ 2 2 3 3 /* … … 2136 2136 } 2137 2137 2138 2139 2140 /*****************************************************************************2141 * Name : BOOL GetProcessShutdownParameters2142 * Purpose : The GetProcessShutdownParameters function retrieves shutdown2143 * parameters for the currently calling process.2144 * Parameters: LPDWORD lpdwLevel2145 * LPDWORD lpdwFlags2146 * Variables :2147 * Result : TRUE / FALSE2148 * Remark :2149 * Status : UNTESTED STUB2150 *2151 * Author : Patrick Haller [Mon, 1998/06/15 08:00]2152 *****************************************************************************/2153 2154 BOOL WIN32API GetProcessShutdownParameters(LPDWORD lpdwLevel,2155 LPDWORD lpdwFlags)2156 {2157 dprintf(("Kernel32: GetProcessShutdownParameters(%08xh,%08xh) not implemented.\n",2158 lpdwLevel,2159 lpdwFlags));2160 2161 return (FALSE);2162 }2163 2164 2165 2166 2138 /***************************************************************************** 2167 2139 * Name : BOOL GetProcessTimes … … 2196 2168 } 2197 2169 2198 2199 /*****************************************************************************2200 * Name : BOOL GetProcessWorkingSetSize2201 * Purpose : The GetProcessWorkingSetSize function obtains the minimum and2202 * maximum working set sizes of a specified process.2203 * Parameters: HANDLE hProcess open handle to the process of interest2204 * LPDWORD lpMinimumWorkingSetSize points to variable to receive minimum working set size2205 * LPDWORD lpMaximumWorkingSetSize points to variable to receive maximum working set size2206 * Variables :2207 * Result : TRUE / FALSE2208 * Remark :2209 * Status : UNTESTED STUB2210 *2211 * Author : Patrick Haller [Mon, 1998/06/15 08:00]2212 *****************************************************************************/2213 2214 BOOL WIN32API GetProcessWorkingSetSize(HANDLE hProcess,2215 LPDWORD lpMinimumWorkingSetSize,2216 LPDWORD lpMaximumWorkingSetSize)2217 {2218 dprintf(("Kernel32: GetProcessWorkingSetSize(%08xh,%08xh,%08xh) not implemented - dummy values, TRUE.\n",2219 hProcess,2220 lpMinimumWorkingSetSize,2221 lpMaximumWorkingSetSize));2222 2223 /* PH: we're returning dummy values here */2224 *lpMinimumWorkingSetSize = 512 * 1024; /* 512k */2225 *lpMaximumWorkingSetSize = 65536 * 1024; /* 64M */2226 2227 return (TRUE);2228 }2229 2170 2230 2171 … … 2796 2737 } 2797 2738 2798 2799 /*****************************************************************************2800 * Name : BOOL SetProcessShutdownParameters2801 * Purpose : The SetProcessShutdownParameters function sets shutdown parameters2802 * for the currently calling process. This function sets a shutdown2803 * order for a process relative to the other processes in the system.2804 * Parameters: DWORD dwLevel shutdown priority2805 * DWORD dwFlags shutdown flags2806 * Variables :2807 * Result : TRUE / FALSE2808 * Remark :2809 * Status : UNTESTED STUB2810 *2811 * Author : Patrick Haller [Mon, 1998/06/15 08:00]2812 *****************************************************************************/2813 2814 BOOL WIN32API SetProcessShutdownParameters(DWORD dwLevel,2815 DWORD dwFlags)2816 {2817 dprintf(("KERNEL32: SetProcessShutdownParameters(%08xh,%08xh) not implemented.\n",2818 dwLevel,2819 dwFlags));2820 2821 return (FALSE);2822 }2823 2824 2825 /*****************************************************************************2826 * Name : BOOL SetProcessWorkingSetSize2827 * Purpose : The SetProcessWorkingSetSize function sets the minimum and2828 * maximum working set sizes for a specified process.2829 * The working set of a process is the set of memory pages currently2830 * visible to the process in physical RAM memory. These pages are2831 * resident and available for an application to use without triggering2832 * a page fault. The size of the working set of a process is specified2833 * in bytes. The minimum and maximum working set sizes affect the2834 * virtual memory paging behavior of a process.2835 * Parameters: HANDLE hProcess open handle to the process of interest2836 * DWORD dwMinimumWorkingSetSize specifies minimum working set size2837 * DWORD dwMaximumWorkingSetSize specifies maximum working set size2838 * Variables :2839 * Result : TRUE / FALSE2840 * Remark :2841 * Status : UNTESTED STUB2842 *2843 * Author : Patrick Haller [Mon, 1998/06/15 08:00]2844 *****************************************************************************/2845 2846 BOOL WIN32API SetProcessWorkingSetSize(HANDLE hProcess,2847 DWORD dwMinimumWorkingSetSize,2848 DWORD dwMaximumWorkingSetSize)2849 {2850 dprintf(("KERNEL32: SetProcessWorkingSetSize(%08xh,%08xh,%08xh) not implemented.\n",2851 hProcess,2852 dwMinimumWorkingSetSize,2853 dwMaximumWorkingSetSize));2854 2855 return (FALSE);2856 }2857 2858 2859 2739 /***************************************************************************** 2860 2740 * Name : BOOL SetSystemPowerState
Note:
See TracChangeset
for help on using the changeset viewer.