Files
sdk/runtime/bin/utils_win.h
T
sgjesse@google.com 650dc5f135 Remove duplicated code on Windows
This also gives a litle more info when FormatMessageW fails.

R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//23463044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27639 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 06:33:28 +00:00

19 lines
482 B
C++

// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#ifndef BIN_UTILS_WIN_H_
#define BIN_UTILS_WIN_H_
#include "platform/globals.h"
namespace dart {
namespace bin {
void FormatMessageIntoBuffer(DWORD code, wchar_t* buffer, int buffer_length);
} // namespace bin
} // namespace dart
#endif // BIN_UTILS_WIN_H_