The CheckSourceFolder Windows Management Instrumentation (WMI) class method, in Configuration Manager, that checks the state of an empty driver source folder.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

uint32 CheckSourceFolder 
{
	[IN]	String SourceFolder
	[OUT]   SInt32 Result
};

Parameters

SourceFolder

Data type: StringQualifiers: [id("0"), in]Source folder.
Result

Data type: SInt32Qualifiers: [id("1"), out]Results of check. Possible values are:

0

No error.

1

The folder is not in UNC format.

2

Cannot read/write to the folder.

4

The folder is not empty.

8

The folder is already used by another driver package.

Remarks

Requirements

Runtime Requirements

Development Requirements