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

Query the New Windows Audit Policies Programmatically

, 26 Feb 2010
This sample show how to access the information retrieved by running Auditpol.
// Audit Policy Browser.h : main header file for the PROJECT_NAME application
//

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols


// CAuditPolicyBrowserApp:
// See Audit Policy Browser.cpp for the implementation of this class
//

class CAuditPolicyBrowserApp : public CWinAppEx
{
public:
	CAuditPolicyBrowserApp();

// Overrides
	public:
	virtual BOOL InitInstance();

// Implementation

	DECLARE_MESSAGE_MAP()
};

extern CAuditPolicyBrowserApp theApp;

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 | Mobile
Web03 | 2.8.140926.1 | Last Updated 26 Feb 2010
Article Copyright 2010 by marc ochsenmeier
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid