Share via


SetSystemProcess (Compact 2013)

3/28/2014

This function marks a process as a system process so that it allocates memory at the threshold of a system process.

Syntax

BOOL
SetSystemProcess (
HANDLE hProcess
);

Parameters

  • hProcess
    [in] Handle to the process to be set to a system process.

Return Value

Returns a nonzero value if successful; otherwise, fails.

Remarks

This function should only be called internally or by an OEM if there are applications that need to assume the system process memory allocation threshold; for example, an OOM handler application.

Requirements

Header

pkfuncs.h

See Also

Other Resources

OOM Handling Functions