A ProcessPolicies function is a library-defined function exported by an installable policy downloader. The system calls the ProcessPolicies function of an installed policy downloader when a user logs on to the local computer. A ProcessPolicies function merges the information in a policy file into the local registry.
The PFNPROCESSPOLICIES type is a pointer to a ProcessPolicies function. ProcessPolicies is a placeholder for the library-defined function name.
BOOL PASCAL ProcessPolicies(
HWND hwndOwner, // handle to the parent window
LPCTSTR lpszPolicyFilePath, // path to the policy file
LPCTSTR lpszUserName, // name of the logged on user
LPCTSTR lpszComputerName, // name of the local computer
DWORD dwFlags // error handling flag
);
Windows NT: This is a Unicode string.
Windows 95 and Windows 98: This is an ANSI string.
Windows NT: This is a Unicode string.
Windows 95 and Windows 98: This is an ANSI string.
Windows NT: This is a Unicode string.
Windows 95 and Windows 98: This is an ANSI string.
Value | Meaning |
---|---|
PP_DISPLAYERRORS | If this flag is set, the function should display error messages about errors encountered during downloading (including the file is not found, the network resource is not found, and so on). If this flag is not set, the function should fail silently if there is an error. |
If the function returns a nonzero value, the system runs the default handler.
If the function returns zero, the system does not run the default handler.
System Policies Overview, System Policies Functions