Skip to content

Commit

Permalink
Additional notes on applying attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Battista committed Aug 18, 2021
1 parent f05279a commit 7acff37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ To apply an attribute to an API, update the `--remap` section of [remap.rsp](htt
* `<API>::return=[<Attribute>]`
* Applies an attribute to the return value of an API (e.g. `DoDragDrop::return=[AlternateSuccessCodes]`)

You can apply multiple attributes to an API (e.g. `[DoNotRelease][AlternateSuccessCodes]`) and also combine attributes with type remappings as shown in the `GetProcessHeaps` example above.

Language projections can use the context provided by attributes to improve the developer experience for APIs decorated with them.

## Validating changes
Expand Down

0 comments on commit 7acff37

Please sign in to comment.