Ragnar
Ragnar

Reputation: 1582

Vbscript explanation

What do these two constants mean

Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20

Upvotes: 0

Views: 672

Answers (1)

David Candy
David Candy

Reputation: 743

From Vista Windows Software Development Kit http://msdn.microsoft.com/en-us/windows/hardware/hh852363

Value Meaning

wbemFlagForwardOnly

32 0x20 Causes a forward-only enumerator to be returned. Forward-only enumerators are generally much faster and use less memory than conventional enumerators, but they do not allow calls to SWbemObject.Clone_.

wbemFlagBidirectional

0 0x0 Causes WMI to retain pointers to objects of the enumeration until the client releases the enumerator.

wbemFlagReturnImmediately

16 0x10 Causes the call to return immediately.

wbemFlagReturnWhenComplete

0 0x0 Causes this call to block until the query is complete. This flag calls the method in the synchronous mode.

wbemQueryFlagPrototype

2 0x2 Used for prototyping. It stops the query from happening and returns an object that looks like a typical result object.

wbemFlagUseAmendedQualifiers

131072 0x20000 Causes WMI to return class amendment data with the base class definition. For more information, see Localizing WMI Class Information.

Upvotes: 1

Related Questions