[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

DDK code commenting?

Posted on 2009-02-21
3
Medium Priority
?
270 Views
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

0
Comment
Question by:fxp007
  • 2
3 Comments
 
LVL 49

Expert Comment

by:DanRollins
ID: 23706741
that idiom lets the IDE display it as a collapsible block
ide.JPG
0
 

Author Comment

by:fxp007
ID: 23708620
But it can be collapsed if I only use /* and */


pic.png
0
 
LVL 49

Accepted Solution

by:
DanRollins earned 200 total points
ID: 23709479
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
     http://www.codeproject.com/KB/macros/commentreflower.aspx
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.
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

868 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