Is it able to cudaGraphicsGLRegisterImage GL_BACK the default openGL backBuffer?

is it able to directly write to the GL_BACK openGL default frameBuffer’s default colorAttachment by CUDA?
when cudaGraphicsGLRegisterImage GL_BACK the default openGL backBuffer, got ERROR: cudaErrorInvalidResouceHandle.