Platform SDK: Group Policy |
The RefreshPolicy function causes policy to be applied immediately on the computer.
BOOL RefreshPolicy( BOOL bMachine );
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
By default, policy is reapplied every 8 hours.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Userenv.h.
Library: Use Userenv.lib.
Group Policy Overview, Group Policy Functions, ProcessGroupPolicyProc