c++ - Credential Provider. Displaying a kind of progress bar and disabling password or PIN field -


i developing custom smart card credential provider based on microsoft's samples http://www.microsoft.com/en-us/download/details.aspx?id=5372. in particular, i'm using sample wrapped provider, need add new functions existing ones. after pressing submit button provider should send authentification request server , in case of positive answer should proceed further standard windows mechanism.

i have done placing requesting code begining of getserialization method. since operation can take long time, need inform user current progress.

  1. first question. idea run code getserialization?

since developer not allowed draw custom controls on logon screen (like progress bar), decided create small topmost window containing current operation status , display in top right corner. @ same time need disable pin field , submit button until operation finished. noticed here disabling areas on credential provider, it's not possible getserialization.

  1. second question. way recommend me achieve functionality?

  2. and third one. how can use credentials::advice method determine happened? because icredentialprovidercredentialevents* pcpce parameter, can use calling it's methods, still have no idea, source of event. key pressed or submit button or else?

any appreciated)

  1. i got same ambiguity , server interaction inside of getserialisation - work fine. delay pressing submit login approximately 2 seconds.
  2. try use text field running dot: '. ' ' . ' ' . ' ' . ' ' . ' ' .'
  3. advise used provide context calls logonui. example set text fields updated values.

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -