Click to return to the Component Development home page    
IDebugDocumentHelper::Get...     IDebugDocumentHelper::Set...     IDebugDocumentHelper Inte...    
Web Workshop  |  Component Development

IDebugDocumentHelper::Init Method


Initializes a debug document helper with a given name and initial attributes.

Syntax

HRESULT Init(
    IDebugApplication *pda,
    LPCOLESTR pszShortName,
    LPCOLESTR pszLongName,
    TEXT_DOC_ATTR docAttr
);

Parameters

pda
[in] Address of an IDebugApplication interface.
pszShortName
[in] Address of a string that contains the name of the document using the 8.3 naming convention.
pszLongName
[in] Address of a string that contains the name of the document using a naming convention that allows names longer than 8.3.
docAttr
[in] Flag from the TEXT_DOC_ATTR constant that indicates the document's attributes.

Return Value

Returns S_OK if successful, or an error code otherwise.



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.