public static extern NtStatus RtlQueryPackageClaims(
     SafeKernelObjectHandle TokenHandle,
     [In, Out] byte[] PackageFullName,
     [In, Out] OptionalLength PackageSize, // Size in bytes.
     [In, Out] byte[] AppId,
     [In, Out] OptionalLength AppIdSize,   // Size in bytes.
     [Out] OptionalGuid DynamicId,
     [Out] PsPkgClaim PkgClaim,
     OptionalInt64 AttributesPresent);
 public static extern NtStatus NtAlpcSendWaitReceivePort(
     [In] SafeKernelObjectHandle PortHandle,
     uint Flags,
     [Optional, In] AlpcPortMessage SendMessage,
     [Optional, In, Out] AlpcMessageAtributes SendMessageAttributes,
     [Optional, Out] AlpcPortMessage ReceiveMessage,
     [Optional, In, Out] OptionalLength BufferLength,
     [Optional, In, Out] AlpcMessageAtributes ReceiveMessageAttributes,
     [Optional, In] LargeInteger Timeout);
 public static extern NtStatus NtAlpcConnectPortEx(
     out SafeKernelObjectHandle PortHandle,
     [In] ObjectAttributes ConnectionPortObjectAttributes,
     [Optional, In] ObjectAttributes ClientPortObjectAttributes,
     [Optional, In] AlpcPortAttributes PortAttributes,
     uint Flags,
     [Optional] IntPtr ServerSecurityRequirements, // SECURITY_DESCRIPTOR
     [Optional, In, Out] AlpcPortMessage ConnectionMessage,
     [Optional, In, Out] OptionalLength BufferLength,
     [Optional, In, Out] AlpcMessageAtributes OutMessageAttributes,
     [Optional, In, Out] AlpcMessageAtributes InMessageAttributes,
     [Optional, In] LargeInteger Timeout);
예제 #4
0
 public static extern NtStatus NtAlpcConnectPort(
     out SafeKernelObjectHandle PortHandle,
     [In] UnicodeString PortName,
     [Optional, In] ObjectAttributes ObjectAttributes,
     [Optional, In] AlpcPortAttributes PortAttributes,
     uint Flags,
     [Optional] IntPtr RequiredServerSid,
     [Optional, In, Out] AlpcPortMessage ConnectionMessage,
     [Optional, In, Out] OptionalLength BufferLength,
     [Optional, In, Out] AlpcMessageAtributes OutMessageAttributes,
     [Optional, In, Out] AlpcMessageAtributes InMessageAttributes,
     [Optional, In] LargeInteger Timeout
     );