[Direct2D] Issue #166: Fixed retrieving D2D effect property name.
[Samples] Fixed Win8 samples compilation.