Click to open or copy the files for the LSAsamp sample.
Click to open or copy the Include files (required).
The APIs found in this directory are not Win32 APIs. They are specific APIs for Security Providers and Account Management. Please be aware In the future many of these APIs will be replaced with OLE Interfaces, and will subsequently be dropped.
This sample uses the following keywords:
displayntstatus; displaywinerror; formatmessagea; fprintf; getaccountsid; getlasterror; getprocessheap; getstdhandle; getuserdefaultlangid; heapalloc; heapfree; heaprealloc; initlsastring; localfree; lookupaccountname; lsaaddaccountrights; lsaclose; lsantstatustowinerror; lsaopenpolicy; lsaremoveaccountrights; openpolicy; setprivilegeonaccount; text; wcslen; writefile; wsprintf; wsprintfw; zeromemory