40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync/* $Id$ */
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync/** @file
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * IPRT - RTSystemShutdown, generic stub.
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync */
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync/*
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * Copyright (C) 2012 Oracle Corporation
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync *
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * available from http://www.virtualbox.org. This file is free software;
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * you can redistribute it and/or modify it under the terms of the GNU
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * General Public License (GPL) as published by the Free Software
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync *
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * The contents of this file may alternatively be used under the terms
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * of the Common Development and Distribution License Version 1.0
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * VirtualBox OSE distribution, in which case the provisions of the
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * CDDL are applicable instead of those of the GPL.
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync *
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * You may elect to license modified versions of this file under the
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync * terms and conditions of either the GPL or the CDDL or both.
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync */
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync/*******************************************************************************
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync* Header Files *
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync*******************************************************************************/
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync#include <iprt/system.h>
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync#include "internal/iprt.h"
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync#include <iprt/err.h>
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync#include <iprt/assert.h>
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsyncRTDECL(int) RTSystemShutdown(RTMSINTERVAL cMsDelay, uint32_t fFlags, const char *pszLogMsg)
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync{
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync AssertPtrReturn(pszLogMsg, VERR_INVALID_POINTER);
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync AssertReturn(!(fFlags & ~RTSYSTEM_SHUTDOWN_VALID_MASK), VERR_INVALID_PARAMETER);
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync return VERR_NOT_SUPPORTED;
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync}
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsyncRT_EXPORT_SYMBOL(RTSystemShutdown);
40cc7e60505bb89aa1c75105f0e4e57f9d12441dvboxsync