Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//-----------------------------------------------------------------------------------------
//
// Singleton class that encapsulates the OCM callbacks
//
#pragma once
#include <windows.h>
#include <windef.h>
#include <tchar.h>
#include <setupapi.h>
#include "ocmanage.h"
class COCMCallback { public: static void SetOCMRoutines( POCMANAGER_ROUTINES pOCMRoutines ); static void SetProgressText( LPCTSTR szText ); static void AdvanceTickGauge(); static void SetReboot(); static DWORD QuerySelectionState( LPCTSTR szSubcomponentName, bool &bSelected );
private: static OCMANAGER_ROUTINES m_OCMRoutines; static bool m_bInitialized; };
|