Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Query the New Windows Audit Policies Programmatically

, 26 Feb 2010 CPOL
This sample show how to access the information retrieved by running Auditpol.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Audit Policy Browser.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_AUDITPOLICYBROWSER_DIALOG   102
#define IDR_MAINFRAME                   128
#define IDC_BUTTON_ENUMERATE_CATEGORIES 1000
#define IDC_LIST_CATEGORIES             1006
#define IDC_LIST2                       1008
#define IDC_STATIC_POLICY_AUDIT_EVENT_NONE 1012
#define IDC_STATICPOLICY_AUDIT_EVENT_SUCCESS 1013
#define IDC_STATIC_POLICY_AUDIT_EVENT_FAILURE 1014
#define IDC_SYSLINK1                    1016
#define IDC_SYSLINK                     1016

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        131
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1017
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

marc ochsenmeier
Software Developer (Senior) winitor
Germany Germany
Marc Ochsenmeier is the author of PEStudio (www.winitor.com) and works as developer with the focus on Windows Hardening.
 
PEStudio is on twitter at: https://twitter.com/ochsenmeier

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141223.1 | Last Updated 26 Feb 2010
Article Copyright 2010 by marc ochsenmeier
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid