403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files (x86)/Windows Kits/10/Source/10.0.19041.0/ucrt/heap/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files (x86)/Windows Kits/10/Source/10.0.19041.0/ucrt/heap/new_mode.cpp
//
// new_mode.cpp
//
//      Copyright (c) Microsoft Corporation. All rights reserved.
//
// Definition of _set_new_mode and _query_new_mode, which provide access to the
// _newmode global flag.
//
#include <corecrt_internal.h>
#include <new.h>



static __crt_state_management::dual_state_global<long> __acrt_global_new_mode;



// Sets the _newmode flag to the new value 'mode' and return the old mode.
extern "C" int __cdecl _set_new_mode(int const mode)
{
    // The only valid values of _newmode are 0 and 1:
    _VALIDATE_RETURN(mode == 0 || mode == 1, EINVAL, -1);

    return static_cast<int>(_InterlockedExchange(&__acrt_global_new_mode.value(), mode));
}

// Gets the current value of the _newmode flag.
extern "C" int __cdecl _query_new_mode()
{
    return static_cast<int>(__crt_interlocked_read(&__acrt_global_new_mode.value()));
}

Youez - 2016 - github.com/yon3zu
LinuXploit