DDK code commenting?

Posted on 2009-02-21
Last Modified: 2013-12-03
Why the code in DDK have comment like this beginning "/*++" and "--*/" as end?

			Routine Description:


			STATUS_SUCCESS if successful


Open in new window

Question by:fxp007
    LVL 49

    Expert Comment

    that idiom lets the IDE display it as a collapsible block

    Author Comment

    But it can be collapsed if I only use /* and */

    LVL 49

    Accepted Solution

    OK, All I can give you is a couple of guesses:
    1) It is possible to write custom tools that do things like re-fplow ,ulti-line comments
    and that tool can do something specific when it sees /*++
    2) You can use (for instanxce) /* TODO as a marker to make a comment into a tasklist itee.  No customized token can contain a + so that usage guaratees that the header like that won't end up in the TaskList.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
    With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now