Click to return to the Web Content Management home page    
The Web Publishing SPI     WppDeleteSite Function     Web Publishing Programmer...    
Web Workshop  |  Web Content Management

WppBindToSite Function


Retrieves the address of an interface if the provider DLL owns the site name or the URL.

Syntax

LONG WppBindToSite(
    HWND hwnd,
    LPCTSTR wsSiteName,
    LPCTSTR wsURL,
    REFIID riid,
    DWORD fdwFlags,
    DWORD dwReserved,
    PVOID *ppvObj
);

Parameters

hwnd
Handle of the window to which the focus returns when the wizard, if invoked, completes. This parameter can be NULL if the wizard is not invoked or if this function is called from a console application.
wsSiteName
Optional. Address of a null-terminated string that contains an Internet site name.
wsURL
Optional. Address of a null-terminated string that contains a URL.
riid
Interface identifier. All providers should support the IID_IWPSite Interface identifier. Provider implementations that implement IWPProvider should also support the IID_IWPProvider ID.
fdwFlags
Action flags. Possible values are shown in the following list.
WPF_FORCE_BIND
The provider should not query the site to see whether it can post to it (that is, do not test whether the protocol used by the provider is supported by the server).
dwReserved
Reserved. Must be set to zero.
ppvObj
Address of a variable to receive the interface address.

Return Value

Returns ERROR_SUCCESS if successful, or an error code otherwise.

Function Information

Windows NTUse version 4.0 and later
WindowsUse Windows 95 and later
HeaderDeclared in Wpapi.h
Import LibraryLink with WebPost.lib
Minimum availabilityInternet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.