changes for winrt port(step 1)