I want to use functions from <wincrypt.h> header in my kernel so I should include it to my kernel.
From the openCL documentation I found out that I should use clBuildProgram with -I option to specify include directory so I'm trying to use it:
ret = clBuildProgram(program, 1, &device_id, "-I C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\Include\\", NULL, NULL);
But I'm getting error 43: CL_INVALID_BUILD_OPTIONS.
What am I doing wrong?