36#define ST_DESKTOP_THREAD (1<<1)
37#define ST_GHOST_THREAD (1<<2)
_In_ ULONG _In_opt_ WDFREQUEST _In_opt_ PVOID _In_ size_t _In_ PVOID _In_ size_t _Out_ size_t * DataLength
NTSTATUS NTAPI CsrClientCallServer(_Inout_ PCSR_API_MESSAGE ApiMessage, _Inout_opt_ PCSR_CAPTURE_BUFFER CaptureBuffer, _In_ CSR_API_NUMBER ApiNumber, _In_ ULONG DataLength)
PULONG MinorVersion OPTIONAL
NTSTATUS InitCsrApiPort(IN HANDLE CsrPortHandle)
BOOL UserCreateSystemThread(DWORD Type)
VOID ResetCsrProcess(VOID)
VOID ResetCsrApiPort(VOID)
DWORD UserSystemThreadProc(BOOL bRemoteProcess)
VOID InitCsrProcess(VOID)