GetProperty function
The GetProperty function returns a handle to a given property.
Syntax
HPROPERTY WINAPI GetProperty(
_In_ HPROTOCOL hProtocol,
_In_ LPSTR PropertyName
);
Parameters
-
hProtocol [in]
-
Handle to the protocol.
-
PropertyName [in]
-
Name of the property (for example, Checksum).
Return value
If the function is successful, the return value is the handle to the property.
If the function is unsuccessful, the return value is NULL.
Remarks
The GetProperty function can be used to obtain the property handle needed to locate instances of the property. The functions used to locate property instances are FindPropertyInstance (which locates the first instance) and FindPropertyInstanceRestart (which locates the next instance).
Experts and parsers can call the GetProperty function.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|