Bring up RegOpenKeyExW stub
This works around the Get-ExecutionPolicy Pester test failure. It's not a good solution, but it's also (seemingly) not our code that is calling the extern function. This needs to be fixed in CoreFX itself.
This commit is contained in:
parent
bbe61cf0b5
commit
6c7301c22c
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
|||
#include <stdint.h>
|
||||
|
||||
int32_t RegOpenKeyExW(void* hKey,uint16_t* lpSubKey,uint32_t ulOptions,uint32_t samDesired,void* phkResult)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
int32_t RegCloseKey(void* handle)
|
||||
{
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue