WindowsXP-SP1/admin/wmi/wbem/bvt/whistler/bvtperm
2020-09-30 16:53:49 +02:00
..
res First commit 2020-09-30 16:53:49 +02:00
bvt.mof First commit 2020-09-30 16:53:49 +02:00
bvtperm.dsw First commit 2020-09-30 16:53:49 +02:00
bvtperm.ncb First commit 2020-09-30 16:53:49 +02:00
bvtperm.opt First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumer.cpp First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumer.dsp First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumer.dsw First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumer.h First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumer.htm First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumer.ncb First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumer.opt First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumer.plg First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumer.rc First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumerdlg.cpp First commit 2020-09-30 16:53:49 +02:00
cmdlineconsumerdlg.h First commit 2020-09-30 16:53:49 +02:00
consumer.cpp First commit 2020-09-30 16:53:49 +02:00
consumer.h First commit 2020-09-30 16:53:49 +02:00
factory.cpp First commit 2020-09-30 16:53:49 +02:00
factory.h First commit 2020-09-30 16:53:49 +02:00
makefile First commit 2020-09-30 16:53:49 +02:00
provider.cpp First commit 2020-09-30 16:53:49 +02:00
provider.h First commit 2020-09-30 16:53:49 +02:00
readme.txt First commit 2020-09-30 16:53:49 +02:00
resource.h First commit 2020-09-30 16:53:49 +02:00
stdafx.cpp First commit 2020-09-30 16:53:49 +02:00
stdafx.h First commit 2020-09-30 16:53:49 +02:00

This is a generic event consumer that spawns another app
according to the logical consumer instance.

This consumer is registered by running "mofcomp cmdline.mof".

The logical consumer is defined as:

class CmdLineEventConsumer : __EventConsumer
{
    [key] string Name;
	[read, write]
    string cmdLine;
	[read, write]
	uint8 showWindow;
};

- Name is any convenient string.
- cmdLine is the command line you want to run when this
	consumer instance is called.
- showWindow is a value used to control the dos box in which
	the 'cmdLine' will be run. These values are defined by
	ShowWindow() in the win32 API. For reference, they are:

	#define SW_HIDE             0
	#define SW_SHOWNORMAL       1
	#define SW_NORMAL           1
	#define SW_SHOWMINIMIZED    2
	#define SW_SHOWMAXIMIZED    3
	#define SW_MAXIMIZE         3
	#define SW_SHOWNOACTIVATE   4
	#define SW_SHOW             5
	#define SW_MINIMIZE         6
	#define SW_SHOWMINNOACTIVE  7
	#define SW_SHOWNA           8
	#define SW_RESTORE          9
	#define SW_SHOWDEFAULT      10

	NOTE: Use the number; not the symbol.