Share via


INmMember::GetShareState

Use the GetShareState method to retrieve current application sharing state for a member on a remote computer.

HRESULT GetShareState
  NM_SHARE_STATE *puState);

Parameters

  • puState
    [out] Pointer to a location for the NM_SHARE_* state enumeration that identifies the current application-sharing state.

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 share state was retrieved successfully.

Remarks

To retrieve the local user's share state, use INmChannelAppShare::GetState. To set the local user into a collaborative share state, use INmChannelAppShare::SetState.

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

INmMember, Member Object, Member Object Details