Sublime Forum

Functions with SAL annotations

#1

In Windows C++ code, functions can have SAL annotations as follows:

_Must_inspect_result_
__drv_requiresIRQL(PASSIVE_LEVEL)
NTSTATUS
Object_Create (
    __in
        WDFDEVICE   WdfDevice,
    __in
        HANDLE      ControllerHandle,
    __inout
        PHANDLE     ObjectHandle
    )

In the Ctrl-R list, this function is listed as “__drv_requiresIRQL”. Is there some way to make Sublime Text more intelligent about this?

0 Likes

#2

Bump.

0 Likes

#3

Bump.

0 Likes