The SnmpMgrStrToOid function converts an internal object identifier to a string object identifier or object descriptor representation.
BOOL SnmpMgrOidToStr(
AsnObjectIdentifier *oid, | // object identifier to convert |
LPSTR *string | // string object identifier representation |
); |
Parameters
oid
[in] Points to an object identifier variable to be converted.
string
[out] Points to a null-terminated string that will receive the converted value.
Return Values
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. This function may return Windows Sockets error codes.
Remarks
This function looks for the file MIB.BIN. If it does not find the file, it generates an error.
See Also