Редагувати

Поділитися через


FindPropertyInstance function

The FindPropertyInstance function finds the first instance of the property specified by the hProperty parameter.

Syntax

LPPROPERTYINST WINAPI FindPropertyInstance(
  _In_ HFRAME    hFrame,
  _In_ HPROPERTY hProperty
);

Parameters

hFrame [in]

Handle to the frame. The frame handle can be retrieved by a call to the GetFrame function.

hProperty [in]

Handle to the property you want to find. The property handle can be retrieved by a call to the GetProperty function.

Return value

If the function is successful (that is, if the property is found), the return value is a pointer to the first instance of the property.

If the function is unsuccessful, the return value is NULL.

Remarks

To retrieve the next instance of the property, call FindPropertyInstanceRestart.

Experts and parserscan call the FindPropertyInstance function.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h
Library
Nmapi.lib
DLL
Nmapi.dll

See also

FindPropertyInstanceRestart