public static uint GetSublayerFilterCount(IntPtr sessionHandle, Guid providerId, Guid sublayerId) { uint total = 0; AssertSuccess(() => PInvoke.GetSublayerFilterCount( sessionHandle, ref providerId, ref sublayerId, ref total)); return(total); }