Public Member Functions | |
| HRESULT | Clear (void) |
| HRESULT | Add ([in] BSTR bstrSharedSpace,[in] RtDWORD dwParticipants) |
| HRESULT | Remove ([in] BSTR bstrSharedSpace) |
| HRESULT | GetCount ([out, retval] RtDWORD *pdwNum) |
| HRESULT | GetSSName ([in] RtDWORD dwIndex,[out, retval] BSTR *pbstrSharedSpace) |
| HRESULT | GetSSNumParts ([in] RtDWORD dwIndex,[out, retval] RtDWORD *pdwParticipants) |
| HRESULT IRdNtSharedSpacesListDisp::Clear | ( | void | ) |
Call to erase all records.
var netSSlist = System.CreateDO('Network Package/Net Shared Spaces List');
netSSlist.Clear();
| HRESULT IRdNtSharedSpacesListDisp::Add | ( | [in] BSTR | bstrSharedSpace, | |
| [in] RtDWORD | dwParticipants | |||
| ) |
Add Shared Space name.
| bstrSharedSpace | [in] The Shared Space node name. |
var space = Space.CurrentScene();
netSSlist.Add(space, 1); // ss-name and number of participants.
| HRESULT IRdNtSharedSpacesListDisp::Remove | ( | [in] BSTR | bstrSharedSpace | ) |
Remove Shared Space node name.
| bstrSharedSpace | [in] The Shared Space node name you want to remove. |
netSSlist.Remove(ssName);
| HRESULT IRdNtSharedSpacesListDisp::GetCount | ( | [out, retval] RtDWORD * | pdwNum | ) |
Retrieve number of records.
var countSS = netSSlist.GetCount();
| HRESULT IRdNtSharedSpacesListDisp::GetSSName | ( | [in] RtDWORD | dwIndex, | |
| [out, retval] BSTR * | pbstrSharedSpace | |||
| ) |
Get Shared Space name by index.
| dwIndex | [in] Record index. |
var ssName = netSSlist.GetSSName(countSS);
| HRESULT IRdNtSharedSpacesListDisp::GetSSNumParts | ( | [in] RtDWORD | dwIndex, | |
| [out, retval] RtDWORD * | pdwParticipants | |||
| ) |
Get number of connected participants of a Shared Space.
| dwIndex | [in] Record index. |
var ssParts = netSSlist.GetSSNumParts(countSS);
1.5.5