diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2019-02-22 23:56:33 +0100 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2019-02-22 23:56:33 +0100 |
commit | 14aa1d722a52d24745e37b898cb8eed67e0b4094 (patch) | |
tree | 0b2b4b05af1c9ddfd6963ffd9d35426d98998412 /src/dlls | |
parent | 6a392d9084a1afe8b9861138e5d0e5b688deca44 (diff) | |
download | coreclr-14aa1d722a52d24745e37b898cb8eed67e0b4094.tar.gz coreclr-14aa1d722a52d24745e37b898cb8eed67e0b4094.tar.bz2 coreclr-14aa1d722a52d24745e37b898cb8eed67e0b4094.zip |
Improve coreclrhost.h header
The header didn't contain comments on the APIs, which was pointed out in
Also, the function declarations and pointers didn't include __stdcall
and so it caused crashes when someone developing his own host on x86
Windows used __cdecl as the default calling convention (#22217)
Diffstat (limited to 'src/dlls')
-rw-r--r-- | src/dlls/mscoree/unixinterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dlls/mscoree/unixinterface.cpp b/src/dlls/mscoree/unixinterface.cpp index 0769ea464c..7ad618eb5d 100644 --- a/src/dlls/mscoree/unixinterface.cpp +++ b/src/dlls/mscoree/unixinterface.cpp @@ -149,7 +149,7 @@ extern "C" int coreclr_create_delegate(void*, unsigned int, const char*, const c // Initialize the CoreCLR. Creates and starts CoreCLR host and creates an app domain // // Parameters: -// exePath - Absolute path of the executable that invoked the ExecuteAssembly +// exePath - Absolute path of the executable that invoked the ExecuteAssembly (the native host application) // appDomainFriendlyName - Friendly name of the app domain that will be created to execute the assembly // propertyCount - Number of properties (elements of the following two arguments) // propertyKeys - Keys of properties of the app domain @@ -275,7 +275,7 @@ int coreclr_initialize( // // Parameters: // hostHandle - Handle of the host -// domainId - Id of the domain +// domainId - Id of the domain // // Returns: // HRESULT indicating status of the operation. S_OK if the assembly was successfully executed |