SnmpMgrOidToStr function
[SNMP is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Windows Remote Management, which is the Microsoft implementation of WS-Man.]
The SnmpMgrOidToStr function converts an internal object identifier structure to its string representation. This function is an element of the SNMP Management API.
Syntax
BOOL SnmpMgrOidToStr( _In_ AsnObjectIdentifier *oid, _Out_ LPSTR *string );
Parameters
- oid [in]
-
Pointer to an object identifier variable to convert.
- string [out]
-
Pointer to a null-terminated string to receive the converted value.
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
If the function succeeds, call the SnmpUtilMemFree function to free the memory allocated for the converted string.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/30/2012