QueryUpdateAction enumeration (functiondiscoveryapi.h)

[Function Discovery is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Represents the type of action Function Discovery is performing on the specified function instance. This information is used by the client program's change notification handler.

Syntax

typedef enum tagQueryUpdateAction {
  QUA_ADD = 0,
  QUA_REMOVE = 1,
  QUA_CHANGE = 2
} QueryUpdateAction;

Constants

 
QUA_ADD
Value: 0
Function Discovery is adding the specified function instance.
QUA_REMOVE
Value: 1
Function Discovery is removing the specified function instance.
QUA_CHANGE
Value: 2
Function Discovery is modifying the specified function instance.

Remarks

When a client program implements the IFunctionDiscoveryNotification interface and passes the address of the interface to one of the Query methods, Function Discovery calls the client program's IFunctionDiscoveryNotification::OnUpdate method to notify the client program when a function instance which meets the query parameters has been added, removed, or modified.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header functiondiscoveryapi.h