mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-13 07:17:28 +00:00
[idd] network: provision persistent server identity
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
#include <sddl.h>
|
||||
#include <aclapi.h>
|
||||
|
||||
#include "NetworkIdentity.h"
|
||||
|
||||
#pragma comment(lib, "cfgmgr32.lib")
|
||||
|
||||
#define LGIDD_CLASS_GUID GUID_DEVCLASS_DISPLAY
|
||||
@@ -1022,6 +1024,10 @@ void install(const DeviceDesc *const devices[DEVICE_COUNT])
|
||||
if (!ensureKeyWithAce())
|
||||
goto cleanup;
|
||||
|
||||
_putws(L"Preparing network identity...");
|
||||
if (!networkIdentityProvision())
|
||||
goto cleanup;
|
||||
|
||||
for (size_t i = 0; i < DEVICE_COUNT; ++i)
|
||||
{
|
||||
const DeviceDesc *device = devices[i];
|
||||
|
||||
Reference in New Issue
Block a user