I'm trying to use the GetAppliedGPOList
function, but cannot find/understand what the pGuidExtension
should be.
Here's the simple code so far:
#include <Windows.h>
#include <UserEnv.h>
int wmain(int argc, WCHAR *argv[])
{
//GetAppliedGPOList
DWORD flags = GPO_LIST_FLAG_MACHINE;
LPCWSTR machineName = NULL; //Local computer is used
PSID sidUser = NULL;
GUID *pGuidExtension; //What is the GUID of the extension?
PGROUP_POLICY_OBJECT *ppGPOList;
return 0;
}
Cannot run the function because I need to send that value.
Any example about the pGuidExtension
value?
I did search here but found nothing about it.
Thank you.
The guids is listed at
For example - Group Policy Client Side Extension List. The
GetAppliedGPOList
is looked underkey