i'm writing a WDM driver for a Pdrive and i tired of declaring each variable after the brackets.
this code : [extern "C"] should solve this normally in C language
extern "C" NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegistryPath)
i get an error : error C2059: syntax error : 'string' on that line