Share via


INmSysInfo::SetUserData

Use SetUserData to set information for the local user that is sent when placing a call and identify this data with a GUID.

HRESULT SetUserData(
  REFGUID rguid,  BYTE *pb,  ULONG cb);

Parameters

  • rguid
    [in] A GUID that defines where to get the user data.
  • pb
    [in] Pointer to the buffer for the user data.
  • cb
    [in] The count of characters in the buffer.

Return Values

NetMeeting client applications can use the SUCCEEDED and FAILED macros in winerror.h to check return values.

Return values can include RPC layer errors or any of the following values:

  • S_OK
    The user data was set successfully.
  • NM_E_NOT_ACTIVE
    The conference manager has not yet been initialized with INmManager::Initialize. Unlike other INmSysInfo methods, setting user data requires the conference manager to be active.
  • RPC_X_NULL_REF_POINTER
    The value of pb was NULL.

Requirements

**  Windows NT/2000:** Requires Windows NT 4.0 SP3 or later.
**  Windows 95/98:** Requires Windows 95 or later. Available as a redistributable for Windows 95.
**  Header:** Imsconf2.idl.

See Also

INmSysInfo::GetUserData, INmSysInfo, Local System Object, Local System Object Details