Share via


FindPropertyInstance

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

LPPROPERTYINST WINAPIFindPropertyInstance(HFRAMEhFrame,
HPROPERTYhProperty);

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 Values

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

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.

Library

Link to Nmapi.lib.

DLL Requires Nmapi.dll.

See Also

FindPropertyInstanceRestart