pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

pastebin private pastebin - collaborative debugging tool What's a private pastebin?

Posted by Ex on Tue 2nd Nov 16:44
download | new post

  1. BOOL WINAPI WlxInitialize(
  2.     LPWSTR                  /* lpWinsta */,
  3.     HANDLE                  hWlx,
  4.     PVOID                   /* pvReserved */,
  5.     PVOID                   pWinlogonFunctions,
  6.     PVOID *                 pWlxContext)
  7. {
  8.     // first store the stuff WinLogon gave us
  9.     Gina* pGina = new Gina(hWlx, pWinlogonFunctions);
  10.     if (!pGina) return FALSE;
  11.  
  12.     // now hand a pointer to our state to WinLogon
  13.     *pWlxContext = pGina;
  14.     return TRUE;
  15. }
  16.  
  17. BOOL WINAPI WlxIsLogoffOk(PVOID pWlxContext) {
  18.   return ((Gina*)pWlxContext)->IsLogoffOk();
  19. }

Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Use syntax highlighting

To highlight particular lines, prefix each line with @@


Remember my settings