[DllImport("userenv.dll", SetLastError=true)]
extern static int GetAppliedGPOList(
int dwFlags,
string pMachineName,
IntPtr pSidUser,
IntPtr pGuidExtension,
ref IntPtr ppGPOList);
Declare Function GetAppliedGPOList Lib "userenv.dll" (TODO) As TODO
__in DWORD dwFlags,
__in LPCTSTR pMachineName,
__in PSID pSidUser,
__in GUID* pGuidExtension,
__out PGROUP_POLICY_OBJECT* ppGPOList