Here's the code, right off the GINASTUB example...
int WINAPI WlxLoggedOutSAS(
PVOID pWlxContext,
DWORD dwSasType,
PLUID pAuthenticationId,
PSID pLogonSid,
PDWORD pdwOptions,
PHANDLE phToken,
PWLX_MPR_NOTIFY_INFO pNprNotifyInfo,
PVOID *pProfile) {
int returnValue;
returnValue = GWlxLoggedOutSAS(
pWlxContext,
dwSasType,
pAuthenticationId,
pLogonSid,
pdwOptions,
phToken,
pNprNotifyInfo,
pProfile);
return returnValue;
}
Every time this is called I want to replace the path pointed to by the PWSTR
pszProfile (stored in (???) pProfile) by a hard-coded path (e.g.
"C:\\PROFILE"). Or even better, to read it out of a registry key...
How would I go about doing all this? Usually I can handle such little
things, but I can't seem to wrap my brain around all these pointers...
Thanks in advance for the help!
Charles Taylor
sirct...@ufl.edu
(Don't forget to drop NOSPAM from my e-mail address if you need to contact
me that way)