mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
launcher: can now perform DefineDosDevice in LocalSystem context
dll: uses launcher to DefineDosDevice for LocalService, etc.
This commit is contained in:
@ -1675,6 +1675,19 @@ FSP_API VOID FspServiceStop(FSP_SERVICE *Service);
|
||||
* TRUE if the process is running in running user interactive mode.
|
||||
*/
|
||||
FSP_API BOOLEAN FspServiceIsInteractive(VOID);
|
||||
/**
|
||||
* Check if the supplied token is from the service context.
|
||||
*
|
||||
* @param Token
|
||||
* Token to check. Pass NULL to check the current process token.
|
||||
* @param PIsLocalSystem
|
||||
* Pointer to a boolean that will receive a TRUE value if the token belongs to LocalSystem
|
||||
* and FALSE otherwise. May be NULL.
|
||||
* @return
|
||||
* STATUS_SUCCESS if the token is from the service context. STATUS_ACCESS_DENIED if it is not.
|
||||
* Other error codes are possible.
|
||||
*/
|
||||
FSP_API NTSTATUS FspServiceContextCheck(HANDLE Token, PBOOLEAN PIsLocalSystem);
|
||||
/**
|
||||
* Log a service message.
|
||||
*
|
||||
|
Reference in New Issue
Block a user