\n
Microsoft Invisible Computing

IWsDiscoveryUtil Interface

Helper for Ws-Discovery.

C type for interface pointer:

Extends IProgram

Implemented by WsDiscovery

Methods: RegisterAdvert UnregisterAdvert LookUp LookUp2 Enumerate SendProbe SendResolve

Methods

RegisterAdvert
UnregisterAdvert
LookUp
LookUp2
Enumerate

Enumerate all matches to given type and scopes.

SendProbe
SendResolve

IWsDiscoveryUtil.RegisterAdvert Method

SCODE RegisterAdvert( 
    /*in,this*/ PIWSDISCOVERYUTIL iThis,
    /*in*/ PWSADVERT pAdvert)
pAdvert

C++

SCODE IWsDiscoveryUtil::RegisterAdvert( 
    /*in*/ PWSADVERT pAdvert)

IWsDiscoveryUtil.UnregisterAdvert Method

SCODE UnregisterAdvert( 
    /*in,this*/ PIWSDISCOVERYUTIL iThis,
    /*in*/ PEndpointReference pEndpoint)
pEndpoint

C++

SCODE IWsDiscoveryUtil::UnregisterAdvert( 
    /*in*/ PEndpointReference pEndpoint)

IWsDiscoveryUtil.LookUp Method

SCODE LookUp( 
    /*in,this*/ PIWSDISCOVERYUTIL iThis,
    /*in*/ PQNameItem Type,
    /*in*/ PScopes Scope,
    /*out*/ PWSADVERT* pAdvert)
Type
Scope
pAdvert

C++

SCODE IWsDiscoveryUtil::LookUp( 
    /*in*/ PQNameItem Type,
    /*in*/ PScopes Scope,
    /*out*/ PWSADVERT* pAdvert)

IWsDiscoveryUtil.LookUp2 Method

SCODE LookUp2( 
    /*in,this*/ PIWSDISCOVERYUTIL iThis,
    /*in*/ const _TCHAR * Type,
    /*in*/ UINT BufSz,
    /*out*/ _TCHAR * Buffer)
Type
BufSz
Buffer

C++

SCODE IWsDiscoveryUtil::LookUp2( 
    /*in*/ const _TCHAR * Type,
    /*in*/ UINT BufSz,
    /*out*/ _TCHAR * Buffer)

IWsDiscoveryUtil.Enumerate Method

Enumerate all matches to given type and scopes.

SCODE Enumerate( 
    /*in,this*/ PIWSDISCOVERYUTIL iThis,
    /*in,optional*/ PIHEAP Heap,
    /*in*/ PQNameItem Type,
    /*in,optional*/ PScopes Scope,
    /*out*/ PIENUM* pEnum)
Heap

When supplied, data returned by Pull is allocated here.

Type

The type of service required.

Scope

List of scopes that restrict the choice of services.

pEnum

An enumerator that can be pulled to retrieve all matches one at a time.

C++

SCODE IWsDiscoveryUtil::Enumerate( 
    /*in,optional*/ PIHEAP Heap,
    /*in*/ PQNameItem Type,
    /*in,optional*/ PScopes Scope,
    /*out*/ PIENUM* pEnum)

IWsDiscoveryUtil.SendProbe Method

SCODE SendProbe( 
    /*in,this*/ PIWSDISCOVERYUTIL iThis,
    /*in*/ PQNameItem Type,
    /*in*/ PScopes Scope)
Type
Scope

C++

SCODE IWsDiscoveryUtil::SendProbe( 
    /*in*/ PQNameItem Type,
    /*in*/ PScopes Scope)

IWsDiscoveryUtil.SendResolve Method

SCODE SendResolve( 
    /*in,this*/ PIWSDISCOVERYUTIL iThis,
    /*in*/ PEndpointReference Endpoint)
Endpoint

C++

SCODE IWsDiscoveryUtil::SendResolve( 
    /*in*/ PEndpointReference Endpoint)

©2006 Microsoft Corporation. All rights reserved. Terms of Use Privacy Statement Accessibility End User License Agreement