none
Windows 8 and ICredentialProviderCredential::GetBitmapValue

    Question

  • Hello!

    - Question 1, User tile size:

    As you can figure out in the title i have a custom Credential provider.

    The goal of provider and it's purpose is furfilled (everything works), however I have problem with the provided image. (User tile.)

    On windows 7 it looks as it should. On windows 8 the tile is 'shrinked' to 128x128 even if i provide a larger bitmap.

    I havn't found what sizes i should provide, but it looks like the oter tiles in win8 is 200x200.

    I have tried to provide different images in ICredentialProviderCredential::GetBitmapValue, but the image is shrinked to 128x128 pixels.

    - Question 2, User tile origin:

    I used the document:

    http://msdn.microsoft.com/en-us/library/bb776892.aspx

    To get the actual user tile.

    Basically: %SystemDrive%\Users\<username>\AppData\Local\Temp\<domain>+<user>.bmp

    And it works ok even if win8 sometimes not updating the file. The test clients is domain joined etc, works.

    However, the tile provided (file) is in 128x128 size.

    Inside ICredentialProviderCredential::GetBitmapValue i did stretch the image to 200x200 but it is still shrinked tp 127x127. (As of question 1.)

    (I tested my function by saving the image from within ICredentialProviderCredential::GetBitmapValue and it is a valid 200x200 image.)

    Thanks,

    Stefan Ullgren

    Tuesday, November 20, 2012 10:58 AM

All replies