Files
cefsharp/CefSharp.Core/NativeMethodWrapper.cpp
T
amaitland 22f70bbb9e Copy the buffer directly into the bitmap rather than converting to InteropBitmap then back again
Bitmap property was unused, so change to IsCleared property for now
2014-12-30 12:37:00 +10:00

19 lines
456 B
C++

// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
#include "Stdafx.h"
#include "NativeMethodWrapper.h"
using namespace System;
namespace CefSharp
{
void NativeMethodWrapper::CopyMemoryUsingHandle(IntPtr^ dest, IntPtr^ src, int numberOfBytes)
{
CopyMemory(dest->ToPointer(), src->ToPointer(), numberOfBytes);
}
}