Release 1.1.0-preview 3 (#6)

Release roll-up snapshot of C#/C++ codebase at version 1.1.0-preview.
This release matches the current shipping nugets.
This commit is contained in:
Jason Hunter
2021-05-05 17:18:35 -07:00
committed by GitHub
parent c36b0adfe8
commit ce112dcdf1
643 changed files with 73408 additions and 20737 deletions

View File

@@ -0,0 +1,23 @@
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ------------------------------------------------------------
#include "pch.h"
#include "Guid.h"
#include "winerror.h"
namespace rpc
{
#include <rpc.h>
}
namespace cdb_hr
{
Guid Guid::NewGuid() noexcept
{
Guid retval;
rpc::RPC_STATUS status = rpc::UuidCreate(&retval.m_data);
cdb_core::Contract::Requires(status == S_OK);
return retval;
}
}