C language function:AccessCheckByType sample codes

Search sample code in the internet.It is the result.


TITLE : WinApi
tttuituittttti BOOL AccessCheckByType(_In_ PSECURITY_DESCRIPTOR pSecurityDescriptor, _In_opt_ PSID PrincipalSelfSid, _In_ HANDLE ClientToken, _In_ DWORD DesiredAccess, _Inout_opt_ POBJECT_TYPE_LIST ObjectTypeList, _In_ DWORD ObjectTypeListLength, _In_ PGENERIC_MAPPING GenericMapping, _Out_opt_ PPRIVILEGE_SET PrivilegeSet, _Inout_ LPDWORD PrivilegeSetLength, _Out_ LPDWORD GrantedAccess, _Out_ LPBOOL AccessStatus).......
http://hotkeyit.github.io/v2/docs/commands/WinApi.htm


TITLE : WinApi
tttuituittttti HRESULT RSoPAccessCheckByType(_In_ PSECURITY_DESCRIPTOR pSecurityDescriptor, _In_ PSID pPrincipalSelfSid, _In_ PRSOPTOKEN pRsopToken, _In_ DWORD dwDesiredAccessMask, _In_ POBJECT_TYPE_LIST pObjectTypeList, _In_ DWORD ObjectTypeListLength, _In_ PGENERIC_MAPPING pGenericMapping, _In_ PPRIVILEGE_SET pPrivilegeSet, _In_ LPDWORD pdwPrivilegeSetLength, _Out_ LPDWORD pdwGrantedAccessMask, _Out_ LPBOOL pbAccessStatus).......
http://hotkeyit.github.io/v2/docs/commands/WinApi.htm
TITLE : AccessCheckByType function (Windows)
BOOL WINAPI AccessCheckByType(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/aa374826(v=vs.85).aspx
TITLE : The Windows secure programming model based on the Windows access control list of the Win32 library with C working program examples
Same as the AccessCheckByType() function except that it can generate audit messages for failed or successful access attempts........
http://www.tenouk.com/ModuleI3.html
search Google

https://www.google.com/#q=AccessCheckByType